summaryrefslogtreecommitdiff
path: root/man/uk/man1/dos2unix.htm
diff options
context:
space:
mode:
Diffstat (limited to 'man/uk/man1/dos2unix.htm')
-rw-r--r--man/uk/man1/dos2unix.htm30
1 files changed, 29 insertions, 1 deletions
diff --git a/man/uk/man1/dos2unix.htm b/man/uk/man1/dos2unix.htm
index 9e4b7b6..1d078f3 100644
--- a/man/uk/man1/dos2unix.htm
+++ b/man/uk/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 у формат Unix, і навпаки</title>
+<title>dos2unix 7.4.0 - програма для перетворення даних у текстовому форматі DOS/Mac у формат Unix, і навпаки</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 out.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&#39;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>&#x412;&#x43B;&#x430;&#x441;&#x43D;&#x438;&#x43A;&#x43E;&#x43C; &#x43F;&#x435;&#x440;&#x435;&#x442;&#x432;&#x43E;&#x440;&#x435;&#x43D;&#x43E;&#x433;&#x43E; &#x444;&#x430;&#x439;&#x43B;&#x430; &#x431;&#x443;&#x434;&#x435; &#x43F;&#x440;&#x438;&#x437;&#x43D;&#x430;&#x447;&#x435;&#x43D;&#x43E; &#x43A;&#x43E;&#x440;&#x438;&#x441;&#x442;&#x443;&#x432;&#x430;&#x447;&#x430;, &#x44F;&#x43A;&#x438;&#x43C; &#x431;&#x443;&#x43B;&#x43E; &#x440;&#x43E;&#x437;&#x43F;&#x43E;&#x447;&#x430;&#x442;&#x43E; &#x43F;&#x435;&#x440;&#x435;&#x442;&#x432;&#x43E;&#x440;&#x435;&#x43D;&#x43D;&#x44F; &#x443; &#x440;&#x435;&#x436;&#x438;&#x43C;&#x456; &#x43D;&#x43E;&#x432;&#x43E;&#x433;&#x43E; &#x444;&#x430;&#x439;&#x43B;&#x430; (&#x43F;&#x430;&#x440;&#x43D;&#x43E;&#x43C;&#x443; &#x440;&#x435;&#x436;&#x438;&#x43C;&#x456;). &#x41F;&#x440;&#x430;&#x432;&#x430; &#x434;&#x43E;&#x441;&#x442;&#x443;&#x43F;&#x443; &#x43D;&#x430; &#x447;&#x438;&#x442;&#x430;&#x43D;&#x43D;&#x44F; &#x430;&#x431;&#x43E; &#x437;&#x430;&#x43F;&#x438;&#x441; &#x43D;&#x43E;&#x432;&#x43E;&#x433;&#x43E; &#x444;&#x430;&#x439;&#x43B;&#x430; &#x431;&#x443;&#x434;&#x435; &#x432;&#x438;&#x437;&#x43D;&#x430;&#x447;&#x435;&#x43D;&#x43E; &#x43D;&#x430; &#x43E;&#x441;&#x43D;&#x43E;&#x432;&#x456; &#x43F;&#x440;&#x430;&#x432; &#x434;&#x43E;&#x441;&#x442;&#x443;&#x43F;&#x443; &#x434;&#x43E; &#x43F;&#x43E;&#x447;&#x430;&#x442;&#x43A;&#x43E;&#x432;&#x43E;&#x433;&#x43E; &#x444;&#x430;&#x439;&#x43B;&#x430; &#x43C;&#x456;&#x43D;&#x443;&#x441; umask(1) &#x434;&#x43B;&#x44F; &#x43A;&#x43E;&#x440;&#x438;&#x441;&#x442;&#x443;&#x432;&#x430;&#x447;&#x430;, &#x44F;&#x43A;&#x438;&#x43C; &#x431;&#x443;&#x43B;&#x43E; &#x440;&#x43E;&#x437;&#x43F;&#x43E;&#x447;&#x430;&#x442;&#x43E; &#x43F;&#x435;&#x440;&#x435;&#x442;&#x432;&#x43E;&#x440;&#x435;&#x43D;&#x43D;&#x44F;.</p>
</dd>
+<dt id="no-allow-chown"><b>--no-allow-chown</b></dt>
+<dd>
+
+<p>Don&#39;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&#39;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"><b>-o, --oldfile &#x424;&#x410;&#x419;&#x41B; ...</b></dt>
<dd>
@@ -370,6 +386,18 @@
<p>&#x423; &#x437;&#x430;&#x441;&#x442;&#x430;&#x440;&#x456;&#x43B;&#x43E;&#x43C;&#x443; &#x440;&#x435;&#x436;&#x438;&#x43C;&#x456; (&#x440;&#x435;&#x436;&#x438;&#x43C;&#x456; &#x437;&#x430;&#x43C;&#x456;&#x449;&#x435;&#x43D;&#x43D;&#x44F;) &#x43F;&#x435;&#x440;&#x435;&#x442;&#x432;&#x43E;&#x440;&#x435;&#x43D;&#x438;&#x439; &#x444;&#x430;&#x439;&#x43B; &#x43D;&#x430;&#x43B;&#x435;&#x436;&#x430;&#x442;&#x438;&#x43C;&#x435; &#x442;&#x43E;&#x43C;&#x443; &#x441;&#x430;&#x43C;&#x43E;&#x43C;&#x443; &#x432;&#x43B;&#x430;&#x441;&#x43D;&#x438;&#x43A;&#x443; &#x456; &#x433;&#x440;&#x443;&#x43F;&#x456; &#x456; &#x43C;&#x430;&#x442;&#x438;&#x43C;&#x435; &#x442;&#x456; &#x441;&#x430;&#x43C;&#x456; &#x43F;&#x440;&#x430;&#x432;&#x430; &#x434;&#x43E;&#x441;&#x442;&#x443;&#x43F;&#x443; &#x43D;&#x430; &#x447;&#x438;&#x442;&#x430;&#x43D;&#x43D;&#x44F; &#x430;&#x431;&#x43E; &#x437;&#x430;&#x43F;&#x438;&#x441;, &#x449;&#x43E; &#x456; &#x43F;&#x43E;&#x447;&#x430;&#x442;&#x43A;&#x43E;&#x432;&#x438;&#x439; &#x444;&#x430;&#x439;&#x43B;. &#x41A;&#x440;&#x456;&#x43C; &#x442;&#x43E;&#x433;&#x43E;, &#x44F;&#x43A;&#x449;&#x43E; &#x43F;&#x435;&#x440;&#x435;&#x442;&#x432;&#x43E;&#x440;&#x435;&#x43D;&#x43D;&#x44F; &#x444;&#x430;&#x439;&#x43B;&#x430; &#x432;&#x438;&#x43A;&#x43E;&#x43D;&#x443;&#x454;&#x442;&#x44C;&#x441;&#x44F; &#x456;&#x43D;&#x448;&#x438;&#x43C; &#x43A;&#x43E;&#x440;&#x438;&#x441;&#x442;&#x443;&#x432;&#x430;&#x447;&#x435;&#x43C;, &#x44F;&#x43A;&#x438;&#x439; &#x43C;&#x430;&#x454; &#x43F;&#x440;&#x430;&#x432;&#x430; &#x434;&#x43E;&#x441;&#x442;&#x443;&#x43F;&#x443; &#x43D;&#x430; &#x437;&#x430;&#x43F;&#x438;&#x441; &#x434;&#x43E; &#x444;&#x430;&#x439;&#x43B;&#x430; (&#x43D;&#x430;&#x43F;&#x440;&#x438;&#x43A;&#x43B;&#x430;&#x434; &#x43A;&#x43E;&#x440;&#x438;&#x441;&#x442;&#x443;&#x432;&#x430;&#x447;&#x435;&#x43C; root), &#x43F;&#x435;&#x440;&#x435;&#x442;&#x432;&#x43E;&#x440;&#x435;&#x43D;&#x43D;&#x44F; &#x431;&#x443;&#x434;&#x435; &#x43F;&#x435;&#x440;&#x435;&#x440;&#x432;&#x430;&#x43D;&#x43E;, &#x44F;&#x43A;&#x449;&#x43E; &#x437;&#x431;&#x435;&#x440;&#x435;&#x433;&#x442;&#x438; &#x43F;&#x43E;&#x447;&#x430;&#x442;&#x43A;&#x43E;&#x432;&#x456; &#x437;&#x43D;&#x430;&#x447;&#x435;&#x43D;&#x43D;&#x44F; &#x43D;&#x435; &#x432;&#x434;&#x430;&#x441;&#x442;&#x44C;&#x441;&#x44F;. &#x417;&#x43C;&#x456;&#x43D;&#x430; &#x432;&#x43B;&#x430;&#x441;&#x43D;&#x438;&#x43A;&#x430; &#x43C;&#x43E;&#x436;&#x435; &#x43E;&#x437;&#x43D;&#x430;&#x447;&#x430;&#x442;&#x438; &#x43D;&#x435;&#x43C;&#x43E;&#x436;&#x43B;&#x438;&#x432;&#x456;&#x441;&#x442;&#x44C; &#x447;&#x438;&#x442;&#x430;&#x43D;&#x43D;&#x44F; &#x444;&#x430;&#x439;&#x43B;&#x430; &#x434;&#x43B;&#x44F; &#x439;&#x43E;&#x433;&#x43E; &#x43F;&#x43E;&#x447;&#x430;&#x442;&#x43A;&#x43E;&#x432;&#x43E;&#x433;&#x43E; &#x432;&#x43B;&#x430;&#x441;&#x43D;&#x438;&#x43A;&#x430;. &#x417;&#x43C;&#x456;&#x43D;&#x430; &#x433;&#x440;&#x443;&#x43F;&#x438; &#x43C;&#x43E;&#x436;&#x435; &#x43F;&#x440;&#x438;&#x437;&#x432;&#x435;&#x441;&#x442;&#x438; &#x434;&#x43E; &#x43F;&#x440;&#x43E;&#x431;&#x43B;&#x435;&#x43C; &#x456;&#x437; &#x431;&#x435;&#x437;&#x43F;&#x435;&#x43A;&#x43E;&#x44E;, &#x43E;&#x441;&#x43A;&#x456;&#x43B;&#x44C;&#x43A;&#x438; &#x444;&#x430;&#x439;&#x43B; &#x43C;&#x43E;&#x436;&#x435; &#x441;&#x442;&#x430;&#x442;&#x438; &#x434;&#x43E;&#x441;&#x442;&#x443;&#x43F;&#x43D;&#x438;&#x43C; &#x434;&#x43B;&#x44F; &#x447;&#x438;&#x442;&#x430;&#x43D;&#x43D;&#x44F; &#x43A;&#x43E;&#x440;&#x438;&#x441;&#x442;&#x443;&#x432;&#x430;&#x447;&#x430;&#x43C;, &#x44F;&#x43A;&#x456; &#x43D;&#x435; &#x43F;&#x43E;&#x432;&#x438;&#x43D;&#x43D;&#x456; &#x43C;&#x430;&#x442;&#x438; &#x442;&#x430;&#x43A;&#x456; &#x43F;&#x440;&#x430;&#x432;&#x430; &#x434;&#x43E;&#x441;&#x442;&#x443;&#x43F;&#x443;. &#x41C;&#x43E;&#x436;&#x43B;&#x438;&#x432;&#x456;&#x441;&#x442;&#x44C; &#x437;&#x431;&#x435;&#x440;&#x435;&#x436;&#x435;&#x43D;&#x43D;&#x44F; &#x43F;&#x440;&#x430;&#x432; &#x432;&#x43B;&#x430;&#x441;&#x43D;&#x43E;&#x441;&#x442;&#x456; &#x442;&#x430; &#x43F;&#x440;&#x430;&#x432; &#x434;&#x43E;&#x441;&#x442;&#x443;&#x43F;&#x443; &#x434;&#x43E; &#x444;&#x430;&#x439;&#x43B;&#x430; &#x43F;&#x435;&#x440;&#x435;&#x434;&#x431;&#x430;&#x447;&#x435;&#x43D;&#x43E; &#x43B;&#x438;&#x448;&#x435; &#x443; 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, --quiet</b></dt>
<dd>