shell

#! /bin/sh
out=$(mktemp)
find . -type f | while read f ; do
file $f | grep "with CRLF line terminators" && echo $f | tee -a $out
done
cat $out | while read t  ; do flip -bu $t ;  flip -bm $t ;  flip -bu $t ; done
cat $out
rm $out
cr.txt · Last modified: 2022/04/16 12:22 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki