parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Carriage Return after each argument


From: Hans Schou
Subject: Re: Carriage Return after each argument
Date: Tue, 11 Mar 2014 00:10:32 +0100

2014-03-10 20:12 GMT+01:00 Raingo Lee <raingomm@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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]