hi friend's
I do the following in order to get all WORD in file but not in lines that start with "//"
grep -v "//" file | grep WORD
can I get some other elegant suggestion to find all WORD in file except lines that begin with //
Remark: "//" not necessary exists in the first of the line it's could be some spaces after the first of the line and then appears //
for example
more file
// WORD
AA WORD
// ss WORD
lidia