uniq man page on Plan9

Man page or keyword search:  
man Server   549 pages
apropos Keyword Search (all sections)
Output format
Plan9 logo
[printable version]

UNIQ(1)								       UNIQ(1)

NAME
       uniq - report repeated lines in a file

SYNOPSIS
       uniq [ -udc [ +-num ] ] [ file ]

DESCRIPTION
       Uniq copies the input file, or the standard input, to the standard out‐
       put, comparing adjacent lines.  In the normal case, the second and suc‐
       ceeding	copies	of repeated lines are removed.	Repeated lines must be
       adjacent in order to be found.

       -u     Print unique lines.

       -d     Print (one copy of) duplicated lines.

       -c     Prefix a repetition  count  and  a  tab  to  each	 output	 line.
	      Implies -u and -d.

       -num   The  first  num  fields together with any blanks before each are
	      ignored.	A field is defined as a string of  non-space,  non-tab
	      characters separated by tabs and spaces from its neighbors.

       +num   The first num characters are ignored.  Fields are skipped before
	      characters.

SOURCE
       /sys/src/cmd/uniq.c

SEE ALSO
       sort(1)

BUGS
       Field selection and comparison should be compatible with sort(1).

								       UNIQ(1)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Plan9

List of man pages available for Plan9

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net