diff options
Diffstat (limited to 'man/man1/dos2unix.1')
-rw-r--r-- | man/man1/dos2unix.1 | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/man/man1/dos2unix.1 b/man/man1/dos2unix.1 index d604254..14178c3 100644 --- a/man/man1/dos2unix.1 +++ b/man/man1/dos2unix.1 @@ -1,4 +1,4 @@ -.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.30) +.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.31) .\" .\" Standard preamble: .\" ======================================================================== @@ -71,7 +71,7 @@ .\" ======================================================================== .\" .IX Title "dos2unix 1" -.TH dos2unix 1 "2015-08-13" "dos2unix" "2015-08-24" +.TH dos2unix 1 "2015-09-23" "dos2unix" "2015-09-30" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -316,6 +316,18 @@ List the files that have Unix line breaks: .Vb 1 \& unix2dos \-ic *.txt .Ve +.Sp +Convert only files that have \s-1DOS\s0 line breaks and leave the other files untouched: +.Sp +.Vb 1 +\& dos2unix \-ic *.txt | xargs dos2unix +.Ve +.Sp +Find text files that have \s-1DOS\s0 line breaks: +.Sp +.Vb 1 +\& find \-name \*(Aq*.txt\*(Aq | xargs dos2unix \-ic +.Ve .RE .IP "\fB\-k, \-\-keepdate\fR" 4 .IX Item "-k, --keepdate" |