[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
uniq: exit status not documented enough
From: |
Dan Jacobson |
Subject: |
uniq: exit status not documented enough |
Date: |
Mon, 18 Oct 2004 09:22:43 +0800 |
The uniq man page does not mention an exit status. Bad.
The Info page says,
An exit status of zero indicates success, and a nonzero value
indicates failure.
Oh, well as
NAME
uniq - remove duplicate lines from a sorted file
therefore if it fails to remove duplicate lines from a sorted file,
then it will return nonzero -- unless you clarify the exit status in
the docs.