On Sun, Feb 22, 2009 at 3:57 PM, Joshua Murphy <[email protected]> wrote: > On Sun, Feb 22, 2009 at 3:36 PM, Joshua Murphy <[email protected]> wrote: >> A couple handy commands... >> On Gentoo: >> emerge --fetchonly --pretend <other options and package atoms> 2> >> download.lst >> >> On an internet connected system (even doable on Windows with a ported >> copy of wget): >> wget -c -nc -i download.lst >> >> -- >> Poison [BLX] >> Joshua M. Murphy >> > > A correction to this... while I've seen the first used elsewhere, it's > not at all doing what is needed... so... > > emerge --pretend --verbose --fetchonly <other options and package > atoms> | tail --lines=+6 > download.lst
And eventually I'll get it right... wget doesn't like the space delimited urls, and wants them on their own lines. Good job for sed. emerge --pretend --verbose --fetchonly <other options and package atoms> | tail --lines=+6 | sed 's# #\n#g' > download.lst -- Poison [BLX] Joshua M. Murphy

