summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-11-13 09:50:16 +0000
committerJim Meyering <jim@meyering.net>2002-11-13 09:50:16 +0000
commit23b40463805bc34e69a26f6a493ce90eff37c466 (patch)
treeff827f8aebe5b3515b7db998492ef0e62beb19ee /doc
parente08ebb3e619ac66ab77e94d4061c6c8cbe5a15ed (diff)
downloadcoreutils-23b40463805bc34e69a26f6a493ce90eff37c466.tar.xz
(Examples of expr): Remove bogus `^'s.
Diffstat (limited to 'doc')
-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: