2014-03-10 20:12 GMT+01:00 Raingo Lee <raing...@gmail.com>: > However, when "parallel" read each line in urllist, the /n was striped, > but /r was kept. In the end, the argument lists for each wget becomes, > "wget url1\r url2\r url3\r" >
If you see any \r and that is a problem, just remove them with "tr". cat urllist | tr -d '\r' > urllist2 Test and look for "0d" with cat urllist2 | od -t x1 or cat urllist2 | od -t x1 | grep 0d /hans