Differences

This shows you the differences between two versions of the page.

Link to this comparison view

cr [2012/11/04 20:59] (current)
Line 1: Line 1:
 +=== shell ===
 +
 +<code>
 +#! /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
 +</code>
 +
  
cr.txt ยท Last modified: 2012/11/04 20:59 (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