Originally Posted by Verissi
Code:
#!/bin/sh
sed -e 's/$/\r/' $1 > $2
Then call it from the command line like (I named the script addcr): addcr inputfilename outputfilename
Hope this helps
|
Doesn't work
I pasted the code into a new script and chmod'd the file.
I execute and it truncates each line with a "r" character ????