summaryrefslogtreecommitdiff
path: root/doc/coreutils.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/coreutils.texi')
-rw-r--r--doc/coreutils.texi10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 6df173c39..b24b3ce70 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -4886,6 +4886,10 @@ command line.
@opindex --directory
List just the names of directories, as with other types of files, rather
than listing their contents.
+@c The following sentence is the same as the one for -F.
+Do not follow symbolic links listed on the
+command line unless the @option{--dereference-command-line} (@option{-H})
+or @option{--dereference} (@option{-L}) options are specified.
@item -H
@itemx --dereference-command-line
@@ -5376,6 +5380,10 @@ 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.
+@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})
+or @option{--dereference} (@option{-L}) options are specified.
@item --indicator-style=@var{word}
@opindex --indicator-style
@@ -8962,7 +8970,7 @@ foo=`expr $foo + 1`
To print the non-directory part of the file name stored in
@code{$fname}, which need not contain a @code{/}.
@example
-expr $fname : '.*/\(^.*\)' '^|' $fname
+expr $fname : '.*/\(.*\)' '|' $fname
@end example
An example showing that @code{\+} is an operator: