Why doesn't this work?:
wget -q -U Mozilla "http://rss.slashdot.org/Slashdot/slashdot" -O - | tr '\n' ' '
p.s.: and under openwrt 10.03:
# wget "http://slashdot.org/" -O -
Connecting to slashdot.org (216.34.181.45:80)
wget: bad header line: slash_LOG_DATA: shtml
$
| ||||
|
feedback
|
wget "http://slashdot.org/" -O -
Furthermore, I would suspect that site to act weird as they are using old standards... | |||
|
feedback
|
tr '\n' ' 'has nothing to do with it.wgetis getting an error when trying to download the file. – Wuffers Jan 22 '11 at 16:54wget -q -U Mozilla "http://slashdot.org/" -O - | tr '\n' ' 'works perfectly for me – Nifle Jan 23 '11 at 10:44wget -q -U Mozilla "http://rss.slashdot.org/Slashdot/slashdot" -O -give? What is your expected result of doing that whole command withtrand what do you get instead? – Tom Wijsman Jan 24 '11 at 22:06