diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-09-26 22:56:38 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-09-26 22:56:38 +0000 |
commit | 92b1470e88cb69d8f50235b79f87fab5ac44c2cb (patch) | |
tree | 477b3686f8e7dff53587829f87bd31c9ce440ce5 /doc | |
parent | b7cffb8c5e9be5f1b1295449180285686430a93c (diff) | |
download | coreutils-92b1470e88cb69d8f50235b79f87fab5ac44c2cb.tar.xz |
Add "ls --hide".
(file_ignored): Renamed from file_interesting, with
inverted return value. Accept the file name, not a struct dirent *.
All uses changed. Avoid the expense of calling fnmatch if the
file is ignorable due to leading '.'.
(all_files, really_all_files): Removed; replaced by:
(ignore): New variable. All uses changed.
(IGNORE_DEFAULT, IGNORE_DOT_AND_DOTDOT, IGNORE_MINIMAL, HIDE_OPTION):
New constants.
(hide_patterns): New variable.
(long_options, decode_switches, file_ignored, usage):
Add support for --hide.
(patterns_match): New function.
(usage): Replace "hide" with "ignore" in explanation, to avoid
confusion.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions