summaryrefslogtreecommitdiff
path: root/man/man1/dos2unix.1
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2016-10-20 13:29:34 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2016-10-20 13:29:37 +0900
commit0077b68f7eb84ff84bc271256e4ac0e178e531f9 (patch)
treefcec8afa85d4c7c259f81e3bbe95145cd1d77510 /man/man1/dos2unix.1
parent988f99500ba83724242b161936adaa960b677653 (diff)
downloaddos2unix-0077b68f7eb84ff84bc271256e4ac0e178e531f9.tar.gz
dos2unix-0077b68f7eb84ff84bc271256e4ac0e178e531f9.tar.bz2
dos2unix-0077b68f7eb84ff84bc271256e4ac0e178e531f9.zip
Imported Upstream version 7.3.1
Change-Id: I838c61f0002c36df152a67302d8881f8b6d3ded2 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'man/man1/dos2unix.1')
-rw-r--r--man/man1/dos2unix.116
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"