next up previous contents
Next: Sorting Lines - sort Up: Miscellaneous Previous: Removing Directories - rmdir

Removing Doubled Up Lines - uniq

  There are occasionally times where some kind of data stream, which might be a file, has consecutive lines which are the same. A sorted file is one obvious place, but this also happens occasionally in log files. The uniq program will only output a single occurance of a line when there are N consecutive occurances in the input.


next up previous contents
Next: Sorting Lines - sort Up: Miscellaneous Previous: Removing Directories - rmdir

Gordon Haverland
Sat Oct 9 13:50:48 MDT 1999