diff options
Diffstat (limited to 'man/man1/dos2unix.htm')
-rw-r--r-- | man/man1/dos2unix.htm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/man/man1/dos2unix.htm b/man/man1/dos2unix.htm index d2013b0..1abc2ba 100644 --- a/man/man1/dos2unix.htm +++ b/man/man1/dos2unix.htm @@ -2,7 +2,7 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<title>dos2unix 7.3 - DOS/MAC to UNIX and vice versa text file format converter</title> +<title>dos2unix 7.3.1 - DOS/MAC to UNIX and vice versa text file format converter</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link rev="made" href="mailto:ASSI@cygwin.nonet" /> </head> @@ -290,6 +290,14 @@ <pre><code> unix2dos -ic *.txt</code></pre> +<p>Convert only files that have DOS line breaks and leave the other files untouched:</p> + +<pre><code> dos2unix -ic *.txt | xargs dos2unix</code></pre> + +<p>Find text files that have DOS line breaks:</p> + +<pre><code> find -name '*.txt' | xargs dos2unix -ic</code></pre> + </dd> <dt id="k---keepdate"><b>-k, --keepdate</b></dt> <dd> |