Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
#!/bin/ksh
MATCH=string
FILE=file_with_very_long_line
ROW=0
unset IFS
while read LINE
do
(( ROW += 1 ))
COL=$(print "${LINE}" | sed "s/${MATCH}.*/${MATCH}/g"|wc -w)
if (( COL ))
then
print "${MATCH} was found on row ${ROW} at column ${COL}"
fi
done < ${FILE}