What if I have a whole file of headers I want to use:
$ sed 1d /var/cache/wwwoffle/outgoing/O6PxpG00D+DBLAI8puEtOew|col|colrm 22
Host: www.hsr.gov.tw
User-Agent: Mozilla/5
Accept: text/xml,appl
Accept-Language: en-u
Accept-Encoding: gzip
Accept-Charset: Big5,
Keep-Alive: 300
Proxy-Connection: kee
Referer: http://www.h

Why isn't there an option where I can give the whole file to wget?
Why must one do painstaking scripts like

perl -anwe 'BEGIN{$a=0}s/\r//;chomp;if(/^GET/){print 
"\nwget \"$F[1]\" "};
if(/^(Refer|Cook|etc.etc.)/){print "--header=\"$_\" "}' O*

just to feed them one by one to wget?!

Reply via email to