Do you have cygwin base install right? So no dos2unix…you can convert a windows file to unix format with a small tr command like
1 |
tr -d '\<code>15</code>\<code>32</code>' < winfile.txt > unixfile.txt |
1 |
I prefer the awk way of life: |
[bash]
awk ‘{ sub("\r$", ""); print }’ winfile.txt > unixfile.txt
awk ‘sub("$", "\r")’ unixfile.txt > winfile.txt
[/bash]