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:
gibberish
stuff
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
David Wolfskill [EMAIL PROTECTED] writes:
Of
course, one of the other interesting issues with the above patch is that
awk was whining about the empty regex (//). Since the idea was
apparently to do nothing for such a record,
From: Dag-Erling Smorgrav [EMAIL PROTECTED]
Date: 03 Nov 2001 03:34:01 +0100
course, one of the other interesting issues with the above patch is that
awk was whining about the empty regex (//). Since the idea was
apparently to do nothing for such a record, it seemed simpler to just
not tell
David Wolfskill [EMAIL PROTECTED] writes:
Actually, I tried that. Maybe I should have put it in braces, but I
thought I tried that, too. Hmmm... I can hack on the build machine a
bit... I was aware that sed, by default, would print its input to
output, but had thought that awk would