Source

xemacsweb / crlf-filter

1
2
3
4
5
#!/bin/sh

# Change CR-LF's to LF in all files specified.

perl -pe 's/\r\n/\n/g' ${1+"$@"}