mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-12 06:57:33 +02:00
Use tighter regexps when performing name substitution.
* man/Makefile.am (mapped_name): Add ^ and $$ anchors. Signed-off-by: Jim Meyering <meyering@redhat.com>
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
2007-11-05 Jim Meyering <meyering@redhat.com>
|
||||
|
||||
Use tighter regexps when performing name substitution.
|
||||
* man/Makefile.am (mapped_name): Add ^ and $$ anchors.
|
||||
|
||||
Don't use GNU-sed-specific \< \> operators.
|
||||
* configure.ac (MAN): Transform ginstall.1 to install.1 using
|
||||
a loop, rather than sed with \<...\>.
|
||||
|
||||
@@ -136,7 +136,7 @@ SUFFIXES = .x .1
|
||||
# `install' when creating install.1.
|
||||
# Similarly, ensure that it uses the ../src/[ binary to create test.1.
|
||||
t = $*.td
|
||||
mapped_name = `echo $*|sed 's/install/ginstall/; s/test/[/'`
|
||||
mapped_name = `echo $*|sed 's/^install$$/ginstall/; s/^test$$/[/'`
|
||||
|
||||
# Note the use of $t/$*, rather than just `$*' as in other packages.
|
||||
# That is necessary to avoid failures for programs that are also shell built-in
|
||||
|
||||
Reference in New Issue
Block a user