summaryrefslogtreecommitdiff
path: root/man/es/man1/dos2unix.htm
diff options
context:
space:
mode:
Diffstat (limited to 'man/es/man1/dos2unix.htm')
-rw-r--r--man/es/man1/dos2unix.htm87
1 files changed, 86 insertions, 1 deletions
diff --git a/man/es/man1/dos2unix.htm b/man/es/man1/dos2unix.htm
index 99658d5..768b113 100644
--- a/man/es/man1/dos2unix.htm
+++ b/man/es/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.0 - Convertidor de archivos de texto de formato DOS/Mac a Unix y viceversa</title>
+<title>dos2unix 7.1 - Convertidor de archivos de texto de formato DOS/Mac a Unix y viceversa</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:root@localhost" />
</head>
@@ -154,6 +154,91 @@
<p>Despiega la ayuda y termina el programa.</p>
</dd>
+<dt id="i-FLAGS---info-FLAGS-FILE"><b>-i[FLAGS], --info[=FLAGS] FILE ...</b></dt>
+<dd>
+
+<p>Display file information. No conversion is done.</p>
+
+<p>The following information is printed, in this order: number of DOS line breaks, number of Unix line breaks, number of Mac line breaks, byte order mark, text or binary, file name.</p>
+
+<p>Example output:</p>
+
+<pre><code> 6 0 0 no_bom text dos.txt
+ 0 6 0 no_bom text unix.txt
+ 0 0 6 no_bom text mac.txt
+ 6 6 6 no_bom text mixed.txt
+ 50 0 0 UTF-16LE text utf16le.txt
+ 0 50 0 no_bom text utf8unix.txt
+ 50 0 0 UTF-8 text utf8dos.txt
+ 2 418 219 no_bom binary dos2unix.exe</code></pre>
+
+<p>Optionally extra flags can be set to change the output. One or more flags can be added.</p>
+
+<dl>
+
+<dt id="d"><b>d</b></dt>
+<dd>
+
+<p>Print number of DOS line breaks.</p>
+
+</dd>
+<dt id="u"><b>u</b></dt>
+<dd>
+
+<p>Print number of Unix line breaks.</p>
+
+</dd>
+<dt id="m"><b>m</b></dt>
+<dd>
+
+<p>Print number of Mac line breaks.</p>
+
+</dd>
+<dt id="b"><b>b</b></dt>
+<dd>
+
+<p>Print the byte order mark.</p>
+
+</dd>
+<dt id="t"><b>t</b></dt>
+<dd>
+
+<p>Print if file is text or binary.</p>
+
+</dd>
+<dt id="c"><b>c</b></dt>
+<dd>
+
+<p>Print only the files that would be converted.</p>
+
+<p>With the <code>c</code> flag dos2unix will print only the files that contain DOS line breaks, unix2dos will print only file names that have Unix line breaks.</p>
+
+</dd>
+</dl>
+
+<p>Examples:</p>
+
+<p>Show information for all *.txt files:</p>
+
+<pre><code> dos2unix -i *.txt</code></pre>
+
+<p>Show only the number of DOS line breaks and Unix line breaks:</p>
+
+<pre><code> dos2unix -idu *.txt</code></pre>
+
+<p>Show only the byte order mark:</p>
+
+<pre><code> dos2unix --info=b *.txt</code></pre>
+
+<p>List the files that have DOS line breaks.</p>
+
+<pre><code> dos2unix -ic *.txt</code></pre>
+
+<p>List the files that have Unix line breaks.</p>
+
+<pre><code> unix2dos -ic *.txt</code></pre>
+
+</dd>
<dt id="k---keepdate"><b>-k, --keepdate</b></dt>
<dd>