Menu

#42 carriage return in sh scripts

open
nobody
None
5
2005-06-17
2005-06-17
merlin75
No

the sh scripts are dos formatted and are not executable
under unix. this can be changed by running dos2unix
over the files or strip the last character with sed.
cat file | sed s/.$//g > filenew
used this for all sh files and everything runs fine.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB