Cisco ASR 14000 Series Management Command Reference page 769

Router system
Hide thumbs Also See for ASR 14000 Series:
Table of Contents

Advertisement

Utility Commands on Cisco IOS XR Software
C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
utility uniq
To display or remove repeated lines in a file, use the utility uniq command in EXEC mode or
administration EXEC mode.
Syntax Description
afterChars number
afterField number
count
nonRepeating
repeating
infile input-file
outfile output-file
usage
WORD
Defaults
If no input file is specified, then the standard input is used.
If no output file is specified, then the standard output is used.
OL-17231-01
utility uniq [[afterChars number] [afterField number] [nonRepeating | repeating] [count]]
[infile input-file] [outfile output-file] [usage] [WORD]
(Optional) (-s) Ignores the first characters on each line of the input file. Use
the number argument to specify the number of characters. The range is 0 to
4294967295.
(Optional) (-f) Ignores the first fields on each line of the input file. Use the
number argument to specify the number of fields. The range is 0 to
4294967295.
(Optional) (-c) Displays the number of times the line appeared in the input
file at the beginning of each output line.
(Optional) (-u) Displays only the nonrepeating lines from the input file
(repeating lines are not displayed).
(Optional) (-d) Displays only the repeating lines from the input file
(nonrepeating lines are not displayed).
(Optional) Specifies an input file for processing. The input-file argument
specifies the device, directory, and filename of the input file. If no input file
is specified, then the standard input (keyboard) is used.
The input-file syntax is:
device:[/directory-path]/filename
Include the alias for the device argument, followed by a colon, and,
optionally, the name of a directory. Use the online help system to display the
available storage devices and network protocols.
(Optional) Specifies an output file. The output-file argument specifies the
device, directory, and filename of the output file. If no file is specified, then
the standard output (display) is used.
The input-file syntax is:
device:[/directory-path]/filename
Include the alias for the device argument, followed by a colon, and,
optionally, the name of a directory. Use the online help system to display the
available storage devices and network protocols.
(Optional) Displays the UNIX options supported by this command.
(Optional) UNIX command-line option string. The maximum number of
characters is 20.
Cisco ASR 14000 Series Router System Management Command Reference
utility uniq
SMR-767

Advertisement

Table of Contents
loading

Table of Contents