add directory Minix
This commit is contained in:
73
Minix/2.0.0/wwwman/man1/uniq.1.html
Normal file
73
Minix/2.0.0/wwwman/man1/uniq.1.html
Normal file
@@ -0,0 +1,73 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>uniq(1)</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<H1>uniq(1)</H1>
|
||||
<HR>
|
||||
<PRE>
|
||||
|
||||
</PRE>
|
||||
<H2>NAME</H2><PRE>
|
||||
uniq - delete consecutive identical lines in a file
|
||||
|
||||
|
||||
</PRE>
|
||||
<H2>SYNOPSIS</H2><PRE>
|
||||
<STRONG>uniq</STRONG> [<STRONG>-cdu</STRONG>] [<STRONG>-</STRONG><EM>n</EM>] [<STRONG>+</STRONG><EM>n</EM>] [<EM>input</EM> [<EM>output</EM>]]
|
||||
|
||||
|
||||
</PRE>
|
||||
<H2>OPTIONS</H2><PRE>
|
||||
|
||||
<STRONG>-c</STRONG> Give count of identical lines in the input
|
||||
|
||||
<STRONG>-d</STRONG> Only duplicate lines are written to output
|
||||
|
||||
<STRONG>-u</STRONG> Only unique lines are written to output
|
||||
|
||||
<STRONG>-</STRONG><EM>n</EM> Skip the first <EM>n</EM> columns when matching
|
||||
|
||||
<STRONG>+</STRONG><EM>n</EM> Skip the first <EM>n</EM> fields when matching
|
||||
|
||||
|
||||
</PRE>
|
||||
<H2>EXAMPLES</H2><PRE>
|
||||
|
||||
<STRONG>uniq</STRONG> <STRONG>+2</STRONG> <STRONG>file</STRONG> # Ignore first 2 fields when comparing
|
||||
|
||||
<STRONG>uniq</STRONG> <STRONG>-d</STRONG> <STRONG>inf</STRONG> <STRONG>outf</STRONG> # Write duplicate lines to <EM>outf</EM>
|
||||
|
||||
|
||||
</PRE>
|
||||
<H2>DESCRIPTION</H2><PRE>
|
||||
|
||||
<EM>Uniq</EM> examines a file for consecutive lines that are identical. All but
|
||||
duplicate entries are deleted, and the file is written to output. The +<EM>n</EM>
|
||||
option skips the first <EM>n</EM> fields, where a field is defined as a run of
|
||||
characters separated by white space. The -<EM>n</EM> option skips the first <EM>n</EM>
|
||||
spaces. Fields are skipped first.
|
||||
|
||||
|
||||
</PRE>
|
||||
<H2>SEE ALSO</H2><PRE>
|
||||
<STRONG><A HREF="../man1/sort.1.html">sort(1)</A></STRONG>.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</PRE>
|
||||
</BODY>
|
||||
</HTML>
|
||||
Reference in New Issue
Block a user