25 Jun
2005
25 Jun
'05
01:50
Anders, On Friday 24 June 2005 12:03, Anders Johansson wrote:
On Friday 24 June 2005 18:40, Ken Schneider wrote:
Must be broken in 9.3 as it still shows the . and .. files on my system.
Are you saying
ls -A | grep "\.\."
actually produces output on your system?
Then yes, it is broken
That's only true if the command is: env - /bin/ls -A |grep "^\.\.$" Otherwise and alias, shell procedure or intervening script could alter the options passed. Secondly, "ls" responds to some environment variables. Lastly, the unanchored grep command you specified would include a file such as "..foo" or "foo..bar". Randall Schulz