I\'m using grep to match string in a file. Here is an example file:
example one,
example two null,
example three,
example four null,
grep
Just thought I'd something that might help you in the future. To search multiple string and output line numbers and browse thru the output, type:
egrep -ne 'null|three'
will show:
2:example two null,
3:example three,
4:example four null,
egrep -ne 'null|three' | less
will display output in a less session
HTH Jun