bug-coreutils
[Top][All Lists]
Advanced

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

Re: ls


From: Paul Eggert
Subject: Re: ls
Date: Wed, 05 Oct 2005 15:03:32 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

"Alfred M\. Szmidt" <address@hidden> writes:

>    The command in question might be run anywhere (the documentation
>    talks about "scripts").  That would include /tmp.
>
> `rm *' might also be run from anywhere, hence why don't get it.

It's reasonable for a script to do 'eval "`dircolors`"', and this is
in the manual.  Scripts might be run in any directory, including /tmp,
so it's reasonable to recommend a safe way to invoke dircolors.

On the other hand, scripts normally don't (and shouldn't) do 'rm *' in
random directories, and we don't recommend that.




reply via email to

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