If you download file with wget and the filename comes from windows file, the output filename will always have %0D at the end. To get rid of this, instead of:
wget $filename
use
wget $(echo "$filename" | tr -d '\r')
This will do the trick
Showing posts with label end of line. Show all posts
Showing posts with label end of line. Show all posts
Saturday, July 16, 2016
Subscribe to:
Posts (Atom)