> echo <all the URLS here> | xargs -n 1 wget

Fine until the first URL with white space in it (if that's possible), at
which point xargs will bomb out spectecularly. I find that too
dangerous.

> Having said that, unless it is something that fits on one line, Don't use 
> bash, csh, ksh, or any sh for that matter. Use a decent scripting language 
> like Ruby/python/perl. Ruby is my preference.

While there is a point where any shell scripting becomes inferior to
scripting in a "larger" language, the point is further than a single
line, IMHO.

Volker

-- 
Volker Kuhlmann                 is possibly list0570 with the domain in header
http://volker.dnsalias.net/             Please do not CC list postings to me.

Reply via email to