Add "ls --hide".

This commit is contained in:
Paul Eggert committed 2004-09-26 22:55:05 +00:00
1 parent 707dcca8f3
commit 45bf776dee
1 file changed
+5
+5
View File
@@ -196,6 +196,11 @@ GNU coreutils NEWS -*- outline -*-
echo -e '\xHH' now outputs a byte whose hexadecimal value is HH,
for compatibility with bash.
ls has a new --hide=PATTERN option that behaves like
--ignore=PATTERN, except that it is overridden by -a or -A.
This can be useful for aliases, e.g., if lh is an alias for
"ls --hide='*~'", then "lh -A" lists the file "README~".
In the following cases POSIX allows the default GNU behavior,
so when POSIXLY_CORRECT is set: