[geeks] ksh for loop question
Greg A. Woods
woods at weird.com
Sat May 11 12:55:57 CDT 2002
[ On Saturday, May 11, 2002 at 11:45:15 (-0500), doctor obnox son of a bitch wrote: ]
> Subject: Re: [geeks] ksh for loop question
>
> On Fri, May 10, 2002 at 08:05:10PM -0400, Brian Hechinger had the audacity to opine:
> > On Fri, May 10, 2002 at 06:38:31PM -0500, doctor obnox son of a bitch wrote:
> > >
> > > cat file_list.txt| awk print '{wget "http://www.server.com/" $1}' | sh
> >
> > nice.
> >
> > -brian
> > --
>
> Except it has a great big ugly typo:
> it should be
>
> cat file_list.txt| awk '{print "wget "http://www.server.com/" $1}' |sh
You should really try testing what you type before you post it! :-)
(and thinking a wee tiny bit harder about eliminating the most obvious
unnecessary overhead and uglyness -- cat should be banned!)
--
Greg A. Woods
+1 416 218-0098; <gwoods at acm.org>; <g.a.woods at ieee.org>; <woods at robohack.ca>
Planix, Inc. <woods at planix.com>; VE3TCP; Secrets of the Weird <woods at weird.com>
More information about the geeks
mailing list