awk does not copy input lines to its output unless asked; you can
ask with either an explicit "print" or an empty action.

Using an input file like:

this doesn't match
here is some garbola
I don't want this file in the ouptut
here's some more stuff
and another line
and another
and another
ooh baby
hosts: files dns
don't print this either

the awk program in /etc/, without the //{next}, and
changing "quit" to "exit", prints:

# Auto-generated, do not edit

using either the old gawk or the new awk.

That //{next} may have been necessary during some phase of
script development, but is not necessary now.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to