2005-12-15 Moreno Baricevic * src/ls.c: added new feature (-P TYPES, --select-file-type=TYPES) (decode_switches): added short option 'P' and its handling. (strip_dirs): remove directories from files[]. (print_dir): added check on selected filetypes (based on d_type); (print_dir): ignore directories if not selected. (valid_filetypes): sanity check on -P argument. (is_selected_filetype): check if file matches selected filetypes. (gobble_file): added selected_filetype handling. (usage): documented -P, --select-file-type=TYPES. * doc/coreutils.texi: documented -P, --select-file-type=TYPES.