bug-coreutils
[Top][All Lists]
Advanced

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

Re: coreutils: Test manpage improvements (-e, -w and -x)


From: Javier Fernández-Sanguino Peña
Subject: Re: coreutils: Test manpage improvements (-e, -w and -x)
Date: Wed, 8 Sep 2004 11:06:30 +0200
User-agent: Mutt/1.5.6+20040722i

On Wed, Sep 08, 2004 at 09:55:01AM +0200, Javier Fernández-Sanguino Peña wrote:
> 
> -----------------------------
> $ touch test
> $ ln -s test testl
> $ [ -e testl ] && echo true
> true
> $ rm test
> $ [ -e testl ] && echo true
> -----------------------------


Sorry, the example uses the bash builtin, when I should have used test 
directly (it exhibits the same behaviour)

$ touch test
$ ln -s test testl
$ test -e testl && echo true
true
$ rm test
rm: remove regular empty file `test'? y
$ test -e testl && echo true

Probably Bash's manpage needs ammendment too if the test manpage is 
modified.

Regards

Javier

Attachment: signature.asc
Description: Digital signature


reply via email to

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