[geeks] ksh for loop question
Brian Hechinger
wonko at 4amlunch.net
Fri May 10 11:10:02 CDT 2002
On Fri, May 10, 2002 at 09:16:34AM -0700, David Passmore wrote:
>
> Here is a shell script that will do it...
i should smack you on principle. ;)
> #!/bin/sh
> cat file_list.txt | perl -n -e 'system("wget http://www.server.com/$_");'
oops, looks like there are () in the file names as well (friggin windows users)
which blows this up quite nicely. ;)
i really wish it were possible to just get for to do what i want since it would
work. blah.
-brian
--
Whoops, nevermind... the compile just imploded, crashing the xterm it was
running in as well... Thanks, Richard... -- George Adkins --
More information about the geeks
mailing list