/bin/ls vs .dotted files
Andrey N. Oktyabrski
ano at bestmx.ru
Fri Sep 14 23:14:40 PDT 2012
On 09/15/2012 07:04 AM, Chris Turner wrote:
> On 09/14/12 10:57, Andrey N. Oktyabrski wrote:
>> I think this 35-years old mistake must be corrected: "-A" option
>> must be off by default for all users.
>
> Clearly - this is not a "mistake" - since it was deliberately added
> and then deliberately merged into 4.2BSD.
>
> I think the 'mistake', is deciding to willy-nilly change something
> that has been in place for 35 years because someone expects something
> that is not linux to be linux and decides to complain about it instead
> of reading/understanding/etc [1].
Excuse me, I'm not sure I understand this sentence right... Do you mean
this is a great feature? So I must write
"ls -1 | grep -v '^\.'"
instead of
"ls -1"
in my scripts?
(yes, I use "-1" always)
> Again - noone is saying that we should change the 'inconsistency' in
> 'if in a tty, use ls -1 by default' logic,
I can control this behavior by using "-1", so I do it silently.
> or various traditional BSD ps flags, such as 'ps T', 'ps j', our
> conflict in 'ps e' w/r/t POSIX, etc.
It doesn't step on my toes yet :-)
> ... or maybe they now will since I have mentioned these things that they
> were likely unaware of prior to my mentioning it. doh!
:-)
More information about the Users
mailing list