fgrep -> $FGREP, egrep -> $EGREP
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 30 May 2002 06:05:05 +0000 (06:05 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 30 May 2002 06:05:05 +0000 (06:05 +0000)
48 files changed:
tests/aclocali.test
tests/acoutput2.test
tests/all.test
tests/ansi.test
tests/ansi4.test
tests/colon3.test
tests/cond21.test
tests/condlib.test
tests/confh4.test
tests/confsub.test
tests/cxxansi.test
tests/cxxo.test
tests/depend4.test
tests/discover.test
tests/distname.test
tests/dup3.test
tests/empty4.test
tests/fo.test
tests/implicit.test
tests/insh2.test
tests/interp.test
tests/lex.test
tests/lex3.test
tests/lex4.test
tests/libobj5.test
tests/libobj7.test
tests/make.test
tests/makevars.test
tests/nostdinc.test
tests/parse.test
tests/pluseq.test
tests/pluseq4.test
tests/pluseq6.test
tests/pr2.test
tests/pr9.test
tests/seenc.test
tests/specflags.test
tests/specflags3.test
tests/specflags6.test
tests/subobj.test
tests/subobj2.test
tests/suffix3.test
tests/texinfo.test
tests/texinfo6.test
tests/texinfo8.test
tests/vtexi.test
tests/yacc3.test
tests/yacc6.test

index dfd3d33..2ba6fe4 100755 (executable)
@@ -22,4 +22,4 @@ $ACLOCAL -I macros || exit 1
 
 $AUTOMAKE || exit 1
 
-fgrep quux.m4 Makefile.in
+$FGREP quux.m4 Makefile.in
index 6af5440..c2ea9c3 100755 (executable)
@@ -20,7 +20,7 @@ mkdir subdir
 $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
 
-count=`fgrep foo.in Makefile.in | wc -l`
+count=`$FGREP foo.in Makefile.in | wc -l`
 test $count -eq 2 || exit 1
 
 # This ought to work as well.
index 2387dbe..98c233d 100755 (executable)
@@ -11,6 +11,6 @@ for target in all install-exec install-data uninstall; do
    $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
 
-   fgrep "${target}-local ${target}-local" Makefile.in && exit 1
+   $FGREP "${target}-local ${target}-local" Makefile.in && exit 1
 done
 exit 0
index 3b7da79..81b40f9 100755 (executable)
@@ -21,5 +21,5 @@ END
 $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
 
-fgrep -v @SET_MAKE@ Makefile.in > Makefile.sed
+$FGREP -v @SET_MAKE@ Makefile.in > Makefile.sed
 $MAKE -s -f Makefile.sed SHELL=/bin/sh magic | grep 'ansi2knr\.c'
index ac03bbf..7c4afea 100755 (executable)
@@ -24,4 +24,4 @@ END
 $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
 
-fgrep 'ansi2knr.$(' Makefile.in || exit 1
+$FGREP 'ansi2knr.$(' Makefile.in || exit 1
index 3e5d6b7..630e992 100755 (executable)
@@ -26,8 +26,8 @@ test -f zardoz.in || exit 1
 # never just "zardoz" -- except the actual automake invocation can
 # refer to it (don't ask).
 echo Grep1
-grep zardoz zardoz.in | fgrep -v 'zardoz.in' | fgrep -v 'zardoz.am' \
-   | fgrep -v AUTOMAKE > O
+grep zardoz zardoz.in | $FGREP -v 'zardoz.in' | $FGREP -v 'zardoz.am' \
+   | $FGREP -v AUTOMAKE > O
 # We cat the output file so we see in when verbose.
 cat O
 test -z "`cat O`" || exit 1
index 05b07c7..32d641d 100755 (executable)
@@ -61,5 +61,5 @@ $ACLOCAL
 $AUTOCONF
 $AUTOMAKE -a
 ./configure
-$MAKE test | fgrep 'BAR: bar12 bar bar3 :BAR'
-$MAKE test | fgrep 'FOO: foo foo1 foo1b foo2 :FOO'
+$MAKE test | $FGREP 'BAR: bar12 bar bar3 :BAR'
+$MAKE test | $FGREP 'FOO: foo foo1 foo1b foo2 :FOO'
index e64062f..3ba6f03 100755 (executable)
@@ -24,5 +24,5 @@ END
 $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
 
-fgrep librsaref.a.c Makefile.in && exit 1
+$FGREP librsaref.a.c Makefile.in && exit 1
 exit 0
index 4837ea5..06280af 100755 (executable)
@@ -27,4 +27,4 @@ mkdir include
 $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
 
-egrep '^DEFAULT_INCLUDES =.* -I(\.|\$\(top_builddir\))/include' Makefile.in
+$EGREP '^DEFAULT_INCLUDES =.* -I(\.|\$\(top_builddir\))/include' Makefile.in
index 3007c2d..423a0d3 100755 (executable)
@@ -29,16 +29,16 @@ $AUTOMAKE || exit 1
 # One line is allowed though:
 #
 # cd $(top_builddir) && $(SHELL) ./config.status subdir/config.h
-(fgrep 'subdir/config.h' subdir/Makefile.in |
-   fgrep -v 'cd $(top_builddir)') && exit 1
+($FGREP 'subdir/config.h' subdir/Makefile.in |
+   $FGREP -v 'cd $(top_builddir)') && exit 1
 
 $AUTOCONF || exit 1
 ./configure || exit 1
-fgrep 'Before.' subdir/config.h
+$FGREP 'Before.' subdir/config.h
 
 sleep 2
 echo 'After.' > subdir/config.hin
 $MAKE || exit 1
-fgrep 'After.' subdir/config.h || exit 1
+$FGREP 'After.' subdir/config.h || exit 1
 
 exit 0
index 1b43d5e..b31baa9 100755 (executable)
@@ -25,7 +25,7 @@ END
 $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
 
-fgrep 'jane$U' Makefile.in && exit 1
-fgrep 'doe$U' Makefile.in || exit 1
+$FGREP 'jane$U' Makefile.in && exit 1
+$FGREP 'doe$U' Makefile.in || exit 1
 
 exit 0
index 8fe584b..2f83621 100755 (executable)
@@ -17,4 +17,4 @@ END
 $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
 
-fgrep 'doe.$(OBJEXT)' Makefile.in
+$FGREP 'doe.$(OBJEXT)' Makefile.in
index da56d6b..55ff3bf 100755 (executable)
@@ -19,7 +19,7 @@ END
 
     $AUTOMAKE || exit 1
 
-    egrep '^(@[^@]+@)*DEP_FILES = ' Makefile.in || exit 1
+    $EGREP '^(@[^@]+@)*DEP_FILES = ' Makefile.in || exit 1
 done
 
 exit 0
index 37052b7..ccb2114 100755 (executable)
@@ -20,5 +20,5 @@ END
 : > fsusage.c
 
 $ACLOCAL || exit 1
-$AUTOMAKE 2>&1 | fgrep fsusage.c || exit 1
+$AUTOMAKE 2>&1 | $FGREP fsusage.c || exit 1
 exit 0
index 3b3b27f..9345060 100755 (executable)
@@ -29,5 +29,5 @@ $AUTOMAKE --include-deps --copy --add-missing
 $MAKE dist
 
 gunzip nonesuch-0.23.tar.gz
-(tar tf nonesuch-0.23.tar | fgrep './nonesuch-0.23/a.c') && exit 1
+(tar tf nonesuch-0.23.tar | $FGREP './nonesuch-0.23/a.c') && exit 1
 exit 0
index e0c831e..8afd685 100755 (executable)
@@ -17,4 +17,4 @@ END
 # Strip all options from ACLOCAL, especially -I's.
 ACLOCAL="`echo $ACLOCAL | sed -e 's/ -.*$//'` --acdir=$testsrcdir/../m4"
 $ACLOCAL -I zoo || exit 1
-fgrep zardoz aclocal.m4
+$FGREP zardoz aclocal.m4
index 0ed85da..054a176 100755 (executable)
@@ -20,5 +20,5 @@ END
 
 $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
-fgrep zoo. Makefile.in && exit 1
+$FGREP zoo. Makefile.in && exit 1
 exit 0
index 3c76e08..f9429a3 100755 (executable)
@@ -19,4 +19,4 @@ END
 $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
 
-fgrep 'doe.$(OBJEXT)' Makefile.in
+$FGREP 'doe.$(OBJEXT)' Makefile.in
index d2bb72f..d421f13 100755 (executable)
@@ -16,4 +16,4 @@ END
 $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
 
-grep '^libapp_1_OBJECTS' Makefile.in | fgrep '.$(OBJEXT)'
+grep '^libapp_1_OBJECTS' Makefile.in | $FGREP '.$(OBJEXT)'
index 0010500..0d1c9e4 100755 (executable)
@@ -13,5 +13,5 @@ END
 $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
 
-fgrep -v @SET_MAKE@ Makefile.in > Makefile.sed
+$FGREP -v @SET_MAKE@ Makefile.in > Makefile.sed
 $MAKE -s -f Makefile.sed SHELL=/bin/sh magic | grep install-sh
index 7e21ba1..b3ec58b 100755 (executable)
@@ -17,4 +17,4 @@ END
 $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
 
-fgrep 'z.$(OBJEXT)' Makefile.in
+$FGREP 'z.$(OBJEXT)' Makefile.in
index 3ca4ec7..177982b 100755 (executable)
@@ -21,11 +21,11 @@ $AUTOMAKE || exit 1
 
 # Test to make sure that lex source generates correct target.
 
-fgrep '$(LEX)' Makefile.in || exit 1
+$FGREP '$(LEX)' Makefile.in || exit 1
 
 # Test to make sure that lex source generates correct clean rule.
 # From Ralf Corsepius.
 
-fgrep joel Makefile.in && exit 1
+$FGREP joel Makefile.in && exit 1
 
 exit 0
index 9133b4a..f110ea3 100755 (executable)
@@ -66,4 +66,4 @@ $MAKE distcheck
 
 # foo.c must be shipped.
 gunzip am_lex_bug-0.1.1.tar.gz
-tar tf am_lex_bug-0.1.1.tar | fgrep foo.c
+tar tf am_lex_bug-0.1.1.tar | $FGREP foo.c
index b40fc54..10c1875 100755 (executable)
@@ -21,4 +21,4 @@ END
 $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
 
-fgrep joe.Po Makefile.in
+$FGREP joe.Po Makefile.in
index 9af320d..5bd028b 100755 (executable)
@@ -20,4 +20,4 @@ END
 
 $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
-fgrep foo.c Makefile.in
+$FGREP foo.c Makefile.in
index 2c7ddf0..11de68f 100755 (executable)
@@ -33,4 +33,4 @@ sed -n -e ': again
      n
      s/^/DIST_COMMON/
      b again
-  }' < Makefile.in | fgrep dirname.c
+  }' < Makefile.in | $FGREP dirname.c
index 310cb17..6cc5119 100755 (executable)
@@ -33,12 +33,12 @@ save="$MAKE"
 for flag in '' -w; do
    MAKE="$save $flag" ./configure
 
-   fgrep 'am__include = include' Makefile
+   $FGREP 'am__include = include' Makefile
 
    touch configure.in
    $MAKE $flag
 
-   fgrep 'am__include = include' Makefile
+   $FGREP 'am__include = include' Makefile
 
    rm -f config.cache
 done
index 323c843..f1c0d8b 100755 (executable)
@@ -14,6 +14,6 @@ $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
 
 # We are definitely not needing a compiler or preprocessor.
-egrep '^(CC|CPP|CXX|CXXCPP) =' Makefile.in && exit 1
+$EGREP '^(CC|CPP|CXX|CXXCPP) =' Makefile.in && exit 1
 
 exit 0
index 2faf1d2..d769ca7 100755 (executable)
@@ -17,5 +17,5 @@ END
 $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
 
-fgrep -e '-I.' Makefile.in && exit 1
+$FGREP -e '-I.' Makefile.in && exit 1
 exit 0
index 76ca60b..5b65b72 100755 (executable)
@@ -22,5 +22,5 @@ END
 $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
 
-fgrep zar.cdoz Makefile.in && exit 1
+$FGREP zar.cdoz Makefile.in && exit 1
 exit 0
index f7673a4..0818942 100755 (executable)
@@ -14,4 +14,4 @@ END
 
 $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
-fgrep 'zar doz' Makefile.in
+$FGREP 'zar doz' Makefile.in
index 5f8637f..ac82268 100755 (executable)
@@ -15,4 +15,4 @@ END
 
 $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
-fgrep '@CC@ -Dwhatever' Makefile.in
+$FGREP '@CC@ -Dwhatever' Makefile.in
index ae8e869..54b015f 100755 (executable)
@@ -14,7 +14,7 @@ END
 
 $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
-fgrep '@mandir@ foo' Makefile.in || exit 1
+$FGREP '@mandir@ foo' Makefile.in || exit 1
 
 num=`grep '^mandir =' Makefile.in | wc -l`
 test $num -eq 1
index c93be6d..32c3949 100755 (executable)
@@ -20,4 +20,4 @@ $AUTOMAKE || exit 1
 
 # Look for mkinstalldirs invocation for the templ directory.
 # We use the `[^/]' to avoid matching `templ/README.foo.in'.
-egrep 'mkinstalldirs.*templ([^/]|$)' Makefile.in
+$EGREP 'mkinstalldirs.*templ([^/]|$)' Makefile.in
index afc4551..5fa6abd 100755 (executable)
@@ -31,4 +31,4 @@ $MAKE distcheck || exit 1
 
 gunzip pr9-0.tar.gz || exit 1
 
-tar tf pr9-0.tar | fgrep support
+tar tf pr9-0.tar | $FGREP support
index 544b020..d265f29 100755 (executable)
@@ -24,5 +24,5 @@ $ACLOCAL || exit 1
 # output for this test, and we just want to make sure some of
 # them are about CC and CXX being undefined.
 $AUTOMAKE --Wno-error 2> err && exit 1
-fgrep CC err || exit 1
-fgrep CXX err || exit 1
+$FGREP CC err || exit 1
+$FGREP CXX err || exit 1
index 2e03e74..465280b 100755 (executable)
@@ -30,6 +30,6 @@ grep 'COMPILE. [^-]' Makefile.in && exit 1
 grep '[^-]foo\.o' Makefile.in && exit 1
 
 # Regression test for missing space.
-fgrep ')-c' Makefile.in && exit 1
+$FGREP ')-c' Makefile.in && exit 1
 
 exit 0
index f6cdd11..a86026b 100755 (executable)
@@ -23,11 +23,11 @@ END
 $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
 
-fgrep -e '-o foo-foo' Makefile.in || exit 1
+$FGREP -e '-o foo-foo' Makefile.in || exit 1
 
-fgrep 'foo.o.o' Makefile.in                       && exit 1
-fgrep 'foo.$(OBJEXT).$(OBJEXT)' Makefile.in       && exit 1
+$FGREP 'foo.o.o' Makefile.in                       && exit 1
+$FGREP 'foo.$(OBJEXT).$(OBJEXT)' Makefile.in       && exit 1
 
-fgrep '$(foo_CFLAGS)' Makefile.in || exit 1
+$FGREP '$(foo_CFLAGS)' Makefile.in || exit 1
 
 exit 0
index cd94304..ebf4a58 100755 (executable)
@@ -26,7 +26,7 @@ END
 $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
 
-uncondval=`fgrep 'foo-foo.o: foo.c' Makefile.in`
+uncondval=`$FGREP 'foo-foo.o: foo.c' Makefile.in`
 
 cat >> Makefile.am << 'END'
 foo_SOURCES += $(BAR_SRCS)
@@ -34,6 +34,6 @@ END
 
 $AUTOMAKE || exit 1
 
-condval=`fgrep 'foo-foo.o: foo.c' Makefile.in`
+condval=`$FGREP 'foo-foo.o: foo.c' Makefile.in`
 
 test "x$uncondval" = "x$condval"
index f9245b8..9c33fd7 100755 (executable)
@@ -20,7 +20,7 @@ END
 $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
 
-fgrep 'generic/a.$(OBJEXT)' Makefile.in || exit 1
+$FGREP 'generic/a.$(OBJEXT)' Makefile.in || exit 1
 grep '[^/]a\.\$(OBJEXT)' Makefile.in && exit 1
 
 # Opportunistically test for a different bug.
index 2d46f2f..4a4bbf8 100755 (executable)
@@ -19,6 +19,6 @@ END
 $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
 
-fgrep 'generic/a.$(OBJEXT)' Makefile.in || exit 1
+$FGREP 'generic/a.$(OBJEXT)' Makefile.in || exit 1
 grep '[^/]a\.\$(OBJEXT)' Makefile.in && exit 1
-fgrep -e '-c -o' Makefile.in
+$FGREP -e '-c -o' Makefile.in
index 31c910c..277658a 100755 (executable)
@@ -21,8 +21,8 @@ $AUTOMAKE || exit 1
 
 # The foo.cc intermediate step is implicit, it's a mistake if
 # Automake requires this file somewhere.
-fgrep foo.cc Makefile.in && exit 1
+$FGREP foo.cc Makefile.in && exit 1
 # However Automake must figure that foo.zoo is eventually
 # transformed into foo.o, and use this latter file (to link foo).
-fgrep 'foo.$(OBJEXT)' Makefile.in || exit 1
+$FGREP 'foo.$(OBJEXT)' Makefile.in || exit 1
 exit 0
index 3ade532..c05e902 100755 (executable)
@@ -17,5 +17,5 @@ echo '@setfilename textutils.info' > textutils.texi
 $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
 
-fgrep -v @SET_MAKE@ Makefile.in > Makefile.sed
+$FGREP -v @SET_MAKE@ Makefile.in > Makefile.sed
 $MAKE -s -f Makefile.sed SHELL=/bin/sh magic | grep 'texinfo\.tex'
index 6df7556..1cf03f5 100755 (executable)
@@ -13,4 +13,4 @@ echo '@setfilename foo.info' > foo.txi
 $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
 
-fgrep '.txi.info' Makefile.in
+$FGREP '.txi.info' Makefile.in
index 98cfdbe..3d24e64 100755 (executable)
@@ -29,7 +29,7 @@ END
 $ACLOCAL || exit 1
 $AUTOMAKE -a || exit 1
 
-fgrep -v @SET_MAKE@ sub/Makefile.in > sub/Makefile.sed
+$FGREP -v @SET_MAKE@ sub/Makefile.in > sub/Makefile.sed
 test -f sub/texinfo.tex &&
 $MAKE -s -f sub/Makefile.sed SHELL=/bin/sh magic | grep 'texinfo\.tex'
 stat=$?
index b996360..b837ba9 100755 (executable)
@@ -34,8 +34,8 @@ grep '^textutils\.info: textutils\.texi .*version\.texi$' Makefile.in
 # When running the first version of configure.ac aware automake,
 # @CONFIGURE_AC@ was not properly substitued.
 
-egrep '^\$\(srcdir\)/stamp-vti:.*textutils\.texi( .*)?$' Makefile.in
-egrep '^\$\(srcdir\)/stamp-vti:.*\$\(top_srcdir\)/configure\.in( .*)?$' Makefile.in
+$EGREP '^\$\(srcdir\)/stamp-vti:.*textutils\.texi( .*)?$' Makefile.in
+$EGREP '^\$\(srcdir\)/stamp-vti:.*\$\(top_srcdir\)/configure\.in( .*)?$' Makefile.in
 
 
 # Check that the path to mdate-sh is correct.  Over escaping of `$'
index dbd61ec..07f6524 100755 (executable)
@@ -21,7 +21,7 @@ END
 $ACLOCAL || exit 1
 $AUTOMAKE || exit 1
 
-fgrep -v @SET_MAKE@ Makefile.in > Makefile.sed
+$FGREP -v @SET_MAKE@ Makefile.in > Makefile.sed
 # It should not be disted here
 grep 'zardoz.h' Makefile.in && exit 1
 
index b894676..e17e014 100755 (executable)
@@ -30,5 +30,5 @@ END
 $ACLOCAL || exit 1
 $AUTOMAKE -a || exit 1
 test -f ylwrap || exit 1
-fgrep '(srcdir)/ylwrap' sub/Makefile.in && exit 1
+$FGREP '(srcdir)/ylwrap' sub/Makefile.in && exit 1
 exit 0