[Bug 446294] incorrect exit from 'ls'
bugzilla at redhat.com
bugzilla at redhat.com
Mon Oct 13 19:08:55 UTC 2008
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=446294
--- Comment #16 from Jim Meyering <meyering at redhat.com> 2008-10-13 15:08:53 EDT ---
Greg,
The man page should be updated, since it is generated from the output of ls
--help, and since the patch updated ls's usage function, maybe your man page is
out of date:
$ ./ls --help|tail -8
Exit status:
0 if OK,
1 if minor problems (e.g., failure to access a file or directory not
specified as a command line argument
2 if serious trouble (e.g., memory exhausted, invalid option or failure
to access a file or directory specified as a command line argument).
so you should definitely have the right content.
Hmm... but looking at the generated man page, I saw ugly formatting.
So I've just checked in another change to fix that. Here's what I see now:
$ nroff -man man/ls.1|grep -B1 -A7 'if OK'
Exit status:
0 if OK,
1 if minor problems (e.g., failure to access a file or directory
not specified as a command line argument,
2 if serious trouble (e.g., memory exhausted, invalid option or
failure to access a file or directory specified as a command
line argument).
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the fedora-triage-list
mailing list