From 7d06d88f7ed63b14b1b8fe82c6523f5e87e5f345 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 29 Apr 2005 21:00:01 +0000 Subject: (ls invocation): ls -p now marks only directories. New option --indicator-style=directory equivalent to -p. --- doc/coreutils.texi | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) (limited to 'doc/coreutils.texi') diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 21711c072..e8b17289e 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -5880,13 +5880,22 @@ Piping a colorized listing through a pager like @command{more} or Append a character to each file name indicating the file type. Also, for regular files that are executable, append @samp{*}. The file type indicators are @samp{/} for directories, @samp{@@} for symbolic links, -@samp{|} for FIFOs, @samp{=} for sockets, and nothing for regular files. +@samp{|} for FIFOs, @samp{=} for sockets, @samp{>} for doors, +and nothing for regular files. @c The following sentence is the same as the one for -d. Do not follow symbolic links listed on the command line unless the @option{--dereference-command-line} (@option{-H}), @option{--dereference} (@option{-L}), or @option{--dereference-command-line-symlink-to-dir} options are specified. +@item --file-type +@itemx --indicator-style=file-type +@opindex --file-type +@opindex --indicator-style +@cindex file type, marking +Append a character to each file name indicating the file type. This is +like @option{-F}, except that executables are not marked. + @item --indicator-style=@var{word} @opindex --indicator-style Append a character indicator with style @var{word} to entry names, @@ -5894,10 +5903,13 @@ as follows: @table @samp @item none Do not append any character indicator; this is the default. +@item directory +Append @samp{/} for directories. This is the same as the @option{-p} +option. @item file-type Append @samp{/} for directories, @samp{@@} for symbolic links, @samp{|} for FIFOs, @samp{=} for sockets, and nothing for regular files. This is -the same as the @option{-p} or @option{--file-type} option. +the same as the @option{--file-type} option. @item classify Append @samp{*} for executable regular files, otherwise behave as for @samp{file-type}. This is the same as the @option{-F} or @@ -5919,13 +5931,11 @@ List files horizontally, with as many as will fit on each line, separated by @samp{, } (a comma and a space). @item -p -@itemx --file-type -@itemx --indicator-style=file-type -@opindex --file-type +@itemx --indicator-style=directory +@opindex -p @opindex --indicator-style @cindex file type, marking -Append a character to each file name indicating the file type. This is -like @option{-F}, except that executables are not marked. +Append a @samp{/} to directory names. @item -x @itemx --format=across -- cgit v1.2.3-54-g00ecf