]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(Examples of expr): Remove bogus `^'s.
authorJim Meyering <jim@meyering.net>
Wed, 13 Nov 2002 09:50:16 +0000 (09:50 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 13 Nov 2002 09:50:16 +0000 (09:50 +0000)
doc/coreutils.texi

index 6df173c39aa2e8c0b88f72bf35787c58992be36b..b24b3ce70de57de4a17dd6c20807c81168fb67c3 100644 (file)
@@ -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: