]> sourceware.org Git - systemtap.git/commitdiff
Eliminate "fgrep is obsolescent" messages from systemtap.log
authorWilliam Cohen <wcohen@redhat.com>
Wed, 26 Jun 2024 21:18:25 +0000 (17:18 -0400)
committerWilliam Cohen <wcohen@redhat.com>
Thu, 27 Jun 2024 18:48:06 +0000 (14:48 -0400)
Clean up systemtap.log by using "grep -F" in the place of "fgrep" to
eliminate 1000+ lines of "fgrep is obsolescent" messages from
systemtap.log.

testsuite/parseok/unparser.stp

index 31a5d0f147eb8d41e092317e816cebe5cc73a6e9..e353687f87afa8cf8234389f821e13415d06e83f 100755 (executable)
@@ -14,7 +14,7 @@ do
    do
       if head -1 $file | grep -q stap
       then
-         if head -1 $file | fgrep -q -- g  # guru mode
+         if head -1 $file | grep -F -q -- g  # guru mode
          then guru=-g
          else guru=
          fi
This page took 0.02585 seconds and 5 git commands to generate.