A programmer would know this . . , but not me  ;-)

I'm using a script to build a file by concatenating portions of two other files. Then end result needs to be checked to make sure a certain word shows up in a line.

I know that "grep programm <this email message>" would return the line:

A programmer would know this . . , but not me  ;-)

but what I want returned is just the word "programmer". I figure it's some switch to grep, or perhaps piping the results to sed or awk, but I'm unfamiliar with these tools, and an hour of trying to grok the man pages and web tutorials for these apps hasn't gotten me any closer to a solution. I'm hoping one of you whiz-guys can provide me an answer in about ten seconds.

Thanks!

--
Kent



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to