summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-04-29 21:00:01 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-04-29 21:00:01 +0000
commit7d06d88f7ed63b14b1b8fe82c6523f5e87e5f345 (patch)
treeefd0a977ee33c314c748cf835b82fa0fc36f09c8 /doc
parentacb337ee5591ec2f204cab8dcde376ca6c32d743 (diff)
downloadcoreutils-7d06d88f7ed63b14b1b8fe82c6523f5e87e5f345.tar.xz
(ls invocation): ls -p now marks only directories. New option
--indicator-style=directory equivalent to -p.
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi24
1 files changed, 17 insertions, 7 deletions
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