parrotcode: Remove duplicate lines from a sorted file | |
Contents | Examples |
examples/assembly/uniq.pasm - Remove duplicate lines from a sorted file
% ./parrot uniq.pasm -o uniq.pbc
% ./parrot uniq.pbc data.txt
% ./parrot uniq.pbc -c data.txt
Parrot implementation of uniq
. Removes duplicate lines from a sorted file. You'll have to create a suitable file to "de-dup".
-c
-d
-u
By Leon Brocard <acme@astray.com>
|