Tuesday, January 28

Awk/Nawk/Gawk Intro Awk scripts within a shell script

Extract email addresses from incoming mail. The mail would be guided to the following script from within the ~/.forward file. This is not an eficient method, but only an example to show serial processing of text. The next example will do the same thing within awk only and will be efficient. The mail comes in over standardinput into the script.
Between the commands there must be a pipe "|". For continuing on the next line one needs a "\" behind the pipe to escape the invisible newline.


<< Home

This page is powered by Blogger. Isn't yours?