advanced code snippet search
kitzelh on 10/16/09
11/21/09 11:44am10/16/09 06:50pm
Because sometimes "dos2unix" isn't available.
perl -pi -e 's//\n/;' filename ...
Report this snippet
unfortunately this line has no effect on non-DOS systems, see http://snipplr.com/view/20060/convert-dos-2-unix-oneliner/
This line was developed on non-DOS systems. Somehow the content of my original post was corrupted. I've corrected it.
You need to login to post a comment.