"Bob Proulx" <[EMAIL PROTECTED]> wrote: > How did you happen to run into using 'ls --color' in a test such as > this? That seems an unfortunate option choice there. I recommend not > using --color there. But obviously you already thought of that and so > I have to ask what you were doing that caused it to be there? Why not > simply avoid saying anything there? Why not simply use 'ls' without > color? Could you say a few more words about how you came about this > problem?
Yes, Bob. This problem came out because I set an alias for `ls' in my .bashrc file alias ls='ls -F --color' So when I run the script what goes in to the [] test is `ls -F --color -A ./dir' in fact. Thus issued the problem. Thanks for your msg. _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils