View Single Post
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#9
Originally Posted by GameboyRMH View Post
This is basically the problem I'm having:

http://www.planetmike.com/2005/04/12...th-ampersands/
Ampersands are neutered just fine in double quotes as well:

Code:
$ wget -nv "http://talk.maemo.org/attachment.php?attachmentid=16109&d=1291329691"
13:27:52 URL:http://talk.maemo.org/attachment.php?attachmentid=16109&d=1291329691 [12750/12750] -> "attachment.php?attachmentid=16109&d=1291329691" [1]
I'll give wget -i a try, but putting the URLs in a file would be highly impractical...this script iterates through a list of URLs using cut.
-i can also be used to accept URLs fed to it via stdin, eg:

Code:
$ long-pipeline-using-cut | wget -i -

Last edited by lma; 2010-12-03 at 13:30.