convert DOS style
How do I write a script to convert all DOS style backslashes to UNIX style slashes in a list of files /
|
Hello,
I have found a thread similar to this, locate here: http://www.linuxquestions.org/questi...kslash-136312/ Hope that helps man! Cheers, Josh |
Using the slashes in the sed command can be confusing.
Try Code:
sed 's#\\#\/#g' < filename.txt |
There's no need to escape the forward-slash is you use a different delimiter.
|
All times are GMT -5. The time now is 11:56 PM. |