dos 2 unix converter

quick script to convert win32 txt to unix CRLF -> LF

#!/bin/sh
for file
do
perl -pi.bak -e ‘s/\r\n?/\n/g;’ $file
done

Leave a Reply