From 23b40463805bc34e69a26f6a493ce90eff37c466 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 13 Nov 2002 09:50:16 +0000 Subject: (Examples of expr): Remove bogus `^'s. --- doc/coreutils.texi | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'doc/coreutils.texi') 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: -- cgit v1.2.3-54-g00ecf