bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: false --help vs. false --version


From: Paul Jarc
Subject: Re: false --help vs. false --version
Date: Thu, 03 Apr 2003 10:55:32 -0500
User-agent: Gnus/5.090017 (Oort Gnus v0.17) Emacs/21.3 (gnu/linux)

Paul Eggert <address@hidden> wrote:
> I love poking sticks into hornets' nests, so I can't resist mentioning
> that coreutils "true" sometimes returns false:
>
>    $ ./true --version >&-
>    ./true: write error: Bad file number
>    $ echo $?
>    1

Hm - I can't reproduce this.

$ `which true` --version
true (GNU coreutils) 4.5.12
Written by Jim Meyering.

Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ `which true` --version >&-; echo $?
0
$ `which true` --help >&-; echo $?
0

glibc 2.3.2, if that makes a diffference.


paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]