[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] : ls: clarify documentation of exit statuses
From: |
Jim Meyering |
Subject: |
Re: [PATCH] : ls: clarify documentation of exit statuses |
Date: |
Mon, 13 Oct 2008 09:02:21 +0200 |
Jim Meyering <address@hidden> wrote:
> Ondřej Vašík <address@hidden> wrote:
>> as reported in rh bz#446294 , ls is not very clear with it's exit status
>> documentation. This patch should clarify it a bit.
>
> Re: <http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/14764>
>
> Thanks, Ondřej. I've reworded things to be more accurate,
> mentioned Greg and the buzilla URL in the commit log,
> and added Greg's name/email to THANKS:
...
> diff --git a/src/ls.c b/src/ls.c
...
> -Exit status is 0 if OK, 1 if minor problems, 2 if serious trouble.\n\
> +Exit status:\n\
> +0 if OK,
> +1 if minor problems (e.g., failure to access a file or directory not\n\
Good thing I tried to compile before pushing!
The above lacks \n\ on the "0 if OK" line.