NAME
examples/pir/uniq.pir - Remove duplicate lines from a sorted file
SYNOPSIS
% ./parrot examples/pir/uniq.pir -o uniq.pbc
DESCRIPTION
Parrot implementation of uniq
. Removes duplicate lines from a sorted file. You'll have to create a suitable file to "de-dup".
Command-line Options
-c
Precede each output line with the count of the number of times the line occurred in the input, followed by a single space
-d
Don't output lines that are not repeated in the input
-u
Don't output lines that are repeated in the input
HISTORY
By Leon Brocard <acme@astray.com>.
Converted to PIR by Bernhard Schmalhofer.