From Electron Cloud
Jump to: navigation, search
(No difference)

Revision as of 14:26, 9 December 2005

The perl -e gates

one-line looping

To download a book (this example is a free DSP book):

perl -e 'for ($i=1; $i<=19; $i++) { system "wget http://www.spectrumsdi.com/ch$i.pdf"; };'
perl -e 'for ($i=20; $i<=33; $i++) { system "wget http://www.innerlighttheory.com/ch$i.pdf"; };'