summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2017-09-25 17:06:22 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2017-09-25 17:06:22 +0900
commit75ea1796714fddaa04cd0bdfb2dbec56035d1bf2 (patch)
treecc4a27277bc144e2ff639e361b9aa3bce9d8b3f7
parentd888baf1d9e9559d44848650dee32e9ea0e22789 (diff)
downloaddos2unix-accepted/tizen_5.0_unified.tar.gz
dos2unix-accepted/tizen_5.0_unified.tar.bz2
dos2unix-accepted/tizen_5.0_unified.zip
[Model] All [BinType] AP [Customer] OPEN [Issue#] N/A [Request] N/A [Occurrence Version] N/A [Problem] [Cause & Measure] [Checking Method] N/A [Team] Open Source Management and Setting Part [Developer] dh0128.kwak [Solution company] Samsung [Change Type] N/A Change-Id: I067264d37b23fd613261884765ba0d25419e4cdb Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
-rw-r--r--man/es/man1/dos2unix.pod11
-rw-r--r--packaging/dos2unix.spec5
2 files changed, 14 insertions, 2 deletions
diff --git a/man/es/man1/dos2unix.pod b/man/es/man1/dos2unix.pod
index 3896bb2..bbf14b6 100644
--- a/man/es/man1/dos2unix.pod
+++ b/man/es/man1/dos2unix.pod
@@ -739,6 +739,17 @@ type:
find . -name '*.txt' -print0 |xargs -0 dos2unix
+The find(1) option C<-print0> and corresponding xargs(1) option C<-0> are
+needed when there are files with spaces or quotes in the name. Otherwise
+these options can be omitted. Another option is to use find(1) with the
+C<-exec> option:
+
+ find . -name '*.txt' -exec dos2unix {} \;
+
+In a Windows Command Prompt the following command can be used:
+
+ for /R %G in (*.txt) do dos2unix "%G"
+
PowerShell users can use the following command in Windows PowerShell:
get-childitem -path . -filter '*.txt' -recurse | foreach-object {dos2unix $_.Fullname}
diff --git a/packaging/dos2unix.spec b/packaging/dos2unix.spec
index d44c5cf..a4d68ff 100644
--- a/packaging/dos2unix.spec
+++ b/packaging/dos2unix.spec
@@ -1,5 +1,5 @@
Name: dos2unix
-Version: 7.3.4
+Version: 7.3.5
Release: 0
License: BSD-3-Clause
Summary: Text converters to and from DOS/MAC to UNIX
@@ -22,12 +22,13 @@ format to DOS format and unix2dos converts from UNIX to MAC format.
%prep
%setup -q
cp %{SOURCE1001} .
-find . -type f | xargs chmod -x
+#find . -type f | xargs chmod -x
%build
export RPM_OPT_FLAGS
make %{?_smp_mflags} CC="gcc" HTMLEXT="html"
+
%install
%make_install docdir=%{_defaultdocdir}/%{name}
%{find_lang} dos2unix --all-name --with-man