Thread
:
Can't cd in bash script
View Single Post
fgevaerts
2011-01-04 , 17:14
Posts: 6 | Thanked: 7 times | Joined on Jan 2010
#
11
One way would be
tr -d '\015' < yourfile.sh > yournewfile.sh
(\015 means "octal 13", which is the CR or \r character)
Or use an editor that can control this. I can't really recommend one though (I know vim can do it, but vim isn't really a good editor to recommend to someone who likes leafpad...)
Quote & Reply
|
The Following User Says Thank You to fgevaerts For This Useful Post:
FRuMMaGe
fgevaerts
View Public Profile
Send a private message to fgevaerts
Find all posts by fgevaerts