Re: [UNIX-WIZ] Filtering issue
Sheesh! Thanks! Guess I’d've pored over that a lot longer to find
*that* logic error, huh? So it’s important to look in the right place
for something, huh?
Really appreciate the help! I’ll add 2>&1 to the end of that command
line!
Dennis
—–Original Message—–
From: Unix Wizards Mailing List [mailto:UNIX-WIZ@LISTSERV.NODAK.EDU] On
Behalf Of Jonathan H N Chin
Sent: Tuesday, July 22, 2008 3:37 PM
To: UNIX-WIZ@LISTSERV.NODAK.EDU
Subject: Re: [UNIX-WIZ] Filtering issue
dennis.e.lovelady wrote:
> wget –verbose …options… | \
> awk ‘/100%/ {print $0} /^ [0-9]++00000K/ {print $0} /^[^ 0-9]/
{print
> $0}’
>
> … but all lines are printing (including the one I reproduced up
> above). I don’t see why that line is printing: it doesn’t match the
> 100% test… it doesn’t match the 00000K test… it doesn’t match the
> “not numeric nor space in column 1″ test. But it prints.
wget is printing messages to stderr but awk is reading wget’s stdout.
-jonathan
–
Jonathan H N Chin, 2 dan | deputy computer | Newton Institute,
Cambridge, UK
| systems mangler | tel/fax: +44 1223
767091/330508
“respondeo etsi mutabor” –Rosenstock-Huessy
–
To unsubscribe from the UNIX-WIZ Mailing List, send an email
to
LISTSERV@LISTSERV.NODAK.EDU having a body containing only
“SIGNOFF
UNIX-WIZ” minus quotes of course. There are searchable archives
located
at http://listserv.nodak.edu/archives/unix-wiz.html
———
ListAdmin: UNIX-WIZ-request@LISTSERV.NODAK.EDU
Contact the above address if you have any problems or questions about
the
list itself!
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
–
To unsubscribe from the UNIX-WIZ Mailing List, send an email to
LISTSERV@LISTSERV.NODAK.EDU having a body containing only “SIGNOFF
UNIX-WIZ” minus quotes of course. There are searchable archives located
at http://listserv.nodak.edu/archives/unix-wiz.html
———
ListAdmin: UNIX-WIZ-request@LISTSERV.NODAK.EDU
Contact the above address if you have any problems or questions about the
list itself!