diff options
Diffstat (limited to 'man/nl')
-rw-r--r-- | man/nl/man1/dos2unix.1 | 45 | ||||
-rw-r--r-- | man/nl/man1/dos2unix.htm | 30 | ||||
-rw-r--r-- | man/nl/man1/dos2unix.pod | 41 | ||||
-rw-r--r-- | man/nl/man1/dos2unix.txt | 42 |
4 files changed, 156 insertions, 2 deletions
diff --git a/man/nl/man1/dos2unix.1 b/man/nl/man1/dos2unix.1 index 2f07060..bd35c55 100644 --- a/man/nl/man1/dos2unix.1 +++ b/man/nl/man1/dos2unix.1 @@ -71,7 +71,7 @@ .\" ======================================================================== .\" .IX Title "dos2unix 1" -.TH dos2unix 1 "2017-07-04" "dos2unix" "2017-07-04" +.TH dos2unix 1 "2017-10-10" "dos2unix" "2017-10-10" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -142,6 +142,16 @@ Of in nieuw-bestand-modus: .Vb 1 \& dos2unix \-n \-\- \-foo uit.txt .Ve +.IP "\fB\-\-allow\-chown\fR" 4 +.IX Item "--allow-chown" +Allow file ownership change in old file mode. +.Sp +When this option is used, the conversion will not be aborted when the user +and/or group ownership of the original file can't be preserved in old file +mode. Conversion will continue and the converted file will get the same new +ownership as if it was converted in new file mode. See also options \f(CW\*(C`\-o\*(C'\fR +and \f(CW\*(C`\-n\*(C'\fR. This option is only available if dos2unix has support for +preserving the user and group ownership of files. .IP "\fB\-ascii\fR" 4 .IX Item "-ascii" Alleen regeleindes converteren. Dit is de standaardconversiemodus. @@ -407,6 +417,14 @@ De gebruiker die de conversie start in nieuw-bestand (gepaarde) modus wordt de eigenaar van het geconverteerde bestand. De lees/schrijf\-toegangsrechten van het nieuwe bestand worden de toegangsrechten van het originele bestand minus de \fIumask\fR\|(1) van de gebruiker die de conversie draait. +.IP "\fB\-\-no\-allow\-chown\fR" 4 +.IX Item "--no-allow-chown" +Don't allow file ownership change in old file mode (default). +.Sp +Abort conversion when the user and/or group ownership of the original file +can't be preserved in old file mode. See also options \f(CW\*(C`\-o\*(C'\fR and \f(CW\*(C`\-n\*(C'\fR. This +option is only available if dos2unix has support for preserving the user and +group ownership of files. .IP "\fB\-o\fR, \fB\-\-oldfile \s-1BESTAND\s0\fR ..." 4 .IX Item "-o, --oldfile BESTAND ..." Oud-bestand-modus. Het bestand \s-1BESTAND\s0 converteren en overschrijven. Dit @@ -422,6 +440,31 @@ het bestand niet meer kan lezen. Verandering van groep zou een veiligheidsrisico kunnen zijn, het bestand zou leesbaar kunnen worden voor personen voor wie het niet bestemd is. Behoud van eigenaar, groep en lees/schrijf\-rechten wordt alleen ondersteund op Unix. +.Sp +To check if dos2unix has support for preserving the user and group ownership +of files type \f(CW\*(C`dos2unix \-V\*(C'\fR. +.Sp +Conversion is always done via a temporary file. When an error occurs halfway +the conversion, the temporary file is deleted and the original file stays +intact. When the conversion is successful, the original file is replaced +with the temporary file. You may have write permission on the original file, +but no permission to put the same user and/or group ownership properties on +the temporary file as the original file has. This means you are not able to +preserve the user and/or group ownership of the original file. In this case +you can use option \f(CW\*(C`\-\-allow\-chown\*(C'\fR to continue with the conversion: +.Sp +.Vb 1 +\& dos2unix \-\-allow\-chown foo.txt +.Ve +.Sp +Another option is to use new file mode: +.Sp +.Vb 1 +\& dos2unix \-n foo.txt foo.txt +.Ve +.Sp +The advantage of the \f(CW\*(C`\-\-allow\-chown\*(C'\fR option is that you can use wildcards, +and the ownership properties will be preserved when possible. .IP "\fB\-q\fR, \fB\-\-quiet\fR" 4 .IX Item "-q, --quiet" Stille werking. Alle waarschuwingen onderdrukken. De afsluitwaarde is nul, diff --git a/man/nl/man1/dos2unix.htm b/man/nl/man1/dos2unix.htm index b482cdd..c079b9a 100644 --- a/man/nl/man1/dos2unix.htm +++ b/man/nl/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.5 - DOS/Mac naar Unix en vice versa tekstbestand formaat omzetter</title> +<title>dos2unix 7.4.0 - DOS/Mac naar Unix en vice versa tekstbestand formaat omzetter</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link rev="made" href="mailto:ASSI@cygwin.nonet" /> </head> @@ -78,6 +78,14 @@ <pre><code> dos2unix -n -- -foo uit.txt</code></pre> </dd> +<dt id="allow-chown"><b>--allow-chown</b></dt> +<dd> + +<p>Allow file ownership change in old file mode.</p> + +<p>When this option is used, the conversion will not be aborted when the user and/or group ownership of the original file can't be preserved in old file mode. Conversion will continue and the converted file will get the same new ownership as if it was converted in new file mode. See also options <code>-o</code> and <code>-n</code>. This option is only available if dos2unix has support for preserving the user and group ownership of files.</p> + +</dd> <dt id="ascii"><b>-ascii</b></dt> <dd> @@ -363,6 +371,14 @@ <p>De gebruiker die de conversie start in nieuw-bestand (gepaarde) modus wordt de eigenaar van het geconverteerde bestand. De lees/schrijf-toegangsrechten van het nieuwe bestand worden de toegangsrechten van het originele bestand minus de umask(1) van de gebruiker die de conversie draait.</p> </dd> +<dt id="no-allow-chown"><b>--no-allow-chown</b></dt> +<dd> + +<p>Don't allow file ownership change in old file mode (default).</p> + +<p>Abort conversion when the user and/or group ownership of the original file can't be preserved in old file mode. See also options <code>-o</code> and <code>-n</code>. This option is only available if dos2unix has support for preserving the user and group ownership of files.</p> + +</dd> <dt id="o---oldfile-BESTAND"><b>-o</b>, <b>--oldfile BESTAND</b> ...</dt> <dd> @@ -370,6 +386,18 @@ <p>In oud-bestand (vervangende) modus krijgt het geconverteerde bestand dezelfde eigenaar, groep en lees/schrijf-rechten als het originele bestand. Ook wanneer het bestand wordt omgezet door een andere gebruiker die schrijfrechten heeft op het bestand (b.v. gebruiker root). De omzetting wordt afgebroken wanneer het niet mogelijk is de originele waardes te behouden. Verandering van eigenaar kan betekenen dat de originele eigenaar het bestand niet meer kan lezen. Verandering van groep zou een veiligheidsrisico kunnen zijn, het bestand zou leesbaar kunnen worden voor personen voor wie het niet bestemd is. Behoud van eigenaar, groep en lees/schrijf-rechten wordt alleen ondersteund op Unix.</p> +<p>To check if dos2unix has support for preserving the user and group ownership of files type <code>dos2unix -V</code>.</p> + +<p>Conversion is always done via a temporary file. When an error occurs halfway the conversion, the temporary file is deleted and the original file stays intact. When the conversion is successful, the original file is replaced with the temporary file. You may have write permission on the original file, but no permission to put the same user and/or group ownership properties on the temporary file as the original file has. This means you are not able to preserve the user and/or group ownership of the original file. In this case you can use option <code>--allow-chown</code> to continue with the conversion:</p> + +<pre><code> dos2unix --allow-chown foo.txt</code></pre> + +<p>Another option is to use new file mode:</p> + +<pre><code> dos2unix -n foo.txt foo.txt</code></pre> + +<p>The advantage of the <code>--allow-chown</code> option is that you can use wildcards, and the ownership properties will be preserved when possible.</p> + </dd> <dt id="q---quiet"><b>-q</b>, <b>--quiet</b></dt> <dd> diff --git a/man/nl/man1/dos2unix.pod b/man/nl/man1/dos2unix.pod index 4e398da..d6f77cf 100644 --- a/man/nl/man1/dos2unix.pod +++ b/man/nl/man1/dos2unix.pod @@ -81,6 +81,17 @@ Of in nieuw-bestand-modus: dos2unix -n -- -foo uit.txt +=item B<--allow-chown> + +Allow file ownership change in old file mode. + +When this option is used, the conversion will not be aborted when the user +and/or group ownership of the original file can't be preserved in old file +mode. Conversion will continue and the converted file will get the same new +ownership as if it was converted in new file mode. See also options C<-o> +and C<-n>. This option is only available if dos2unix has support for +preserving the user and group ownership of files. + =item B<-ascii> Alleen regeleindes converteren. Dit is de standaardconversiemodus. @@ -371,6 +382,15 @@ de eigenaar van het geconverteerde bestand. De lees/schrijf-toegangsrechten van het nieuwe bestand worden de toegangsrechten van het originele bestand minus de umask(1) van de gebruiker die de conversie draait. +=item B<--no-allow-chown> + +Don't allow file ownership change in old file mode (default). + +Abort conversion when the user and/or group ownership of the original file +can't be preserved in old file mode. See also options C<-o> and C<-n>. This +option is only available if dos2unix has support for preserving the user and +group ownership of files. + =item B<-o>, B<--oldfile BESTAND> ... Oud-bestand-modus. Het bestand BESTAND converteren en overschrijven. Dit @@ -387,6 +407,27 @@ veiligheidsrisico kunnen zijn, het bestand zou leesbaar kunnen worden voor personen voor wie het niet bestemd is. Behoud van eigenaar, groep en lees/schrijf-rechten wordt alleen ondersteund op Unix. +To check if dos2unix has support for preserving the user and group ownership +of files type C<dos2unix -V>. + +Conversion is always done via a temporary file. When an error occurs halfway +the conversion, the temporary file is deleted and the original file stays +intact. When the conversion is successful, the original file is replaced +with the temporary file. You may have write permission on the original file, +but no permission to put the same user and/or group ownership properties on +the temporary file as the original file has. This means you are not able to +preserve the user and/or group ownership of the original file. In this case +you can use option C<--allow-chown> to continue with the conversion: + + dos2unix --allow-chown foo.txt + +Another option is to use new file mode: + + dos2unix -n foo.txt foo.txt + +The advantage of the C<--allow-chown> option is that you can use wildcards, +and the ownership properties will be preserved when possible. + =item B<-q>, B<--quiet> Stille werking. Alle waarschuwingen onderdrukken. De afsluitwaarde is nul, diff --git a/man/nl/man1/dos2unix.txt b/man/nl/man1/dos2unix.txt index 0f59ae2..611bd5f 100644 --- a/man/nl/man1/dos2unix.txt +++ b/man/nl/man1/dos2unix.txt @@ -56,6 +56,17 @@ OPTIES dos2unix -n -- -foo uit.txt + --allow-chown + Allow file ownership change in old file mode. + + When this option is used, the conversion will not be aborted when + the user and/or group ownership of the original file can't be + preserved in old file mode. Conversion will continue and the + converted file will get the same new ownership as if it was + converted in new file mode. See also options "-o" and "-n". This + option is only available if dos2unix has support for preserving the + user and group ownership of files. + -ascii Alleen regeleindes converteren. Dit is de standaardconversiemodus. @@ -298,6 +309,14 @@ OPTIES toegangsrechten van het originele bestand minus de umask(1) van de gebruiker die de conversie draait. + --no-allow-chown + Don't allow file ownership change in old file mode (default). + + Abort conversion when the user and/or group ownership of the + original file can't be preserved in old file mode. See also options + "-o" and "-n". This option is only available if dos2unix has support + for preserving the user and group ownership of files. + -o, --oldfile BESTAND ... Oud-bestand-modus. Het bestand BESTAND converteren en overschrijven. Dit is de standaard modus. Jokertekens kunnen gebruikt worden. @@ -314,6 +333,29 @@ OPTIES bestemd is. Behoud van eigenaar, groep en lees/schrijf-rechten wordt alleen ondersteund op Unix. + To check if dos2unix has support for preserving the user and group + ownership of files type "dos2unix -V". + + Conversion is always done via a temporary file. When an error occurs + halfway the conversion, the temporary file is deleted and the + original file stays intact. When the conversion is successful, the + original file is replaced with the temporary file. You may have + write permission on the original file, but no permission to put the + same user and/or group ownership properties on the temporary file as + the original file has. This means you are not able to preserve the + user and/or group ownership of the original file. In this case you + can use option "--allow-chown" to continue with the conversion: + + dos2unix --allow-chown foo.txt + + Another option is to use new file mode: + + dos2unix -n foo.txt foo.txt + + The advantage of the "--allow-chown" option is that you can use + wildcards, and the ownership properties will be preserved when + possible. + -q, --quiet Stille werking. Alle waarschuwingen onderdrukken. De afsluitwaarde is nul, behalve wanneer verkeerde opties worden gegeven. |