components/ggrep/ggrep.patch
changeset 115 c360825c3a3f
parent 114 6cc95ec7b1bb
child 116 ae6a90899b42
equal deleted inserted replaced
114:6cc95ec7b1bb 115:c360825c3a3f
     1 --- grep-2.5.4/tests/foad1.sh.orig	Fri Jan 28 16:47:12 2011
       
     2 +++ grep-2.5.4/tests/foad1.sh	Fri Jan 28 16:45:00 2011
       
     3 @@ -23,7 +23,7 @@
       
     4    INPUT="$1"
       
     5    EXPECT="$2"
       
     6    shift 2
       
     7 -  OUTPUT=`echo -n "$INPUT" | tr "/" "\n" | "$GREP" "$@" | tr "\n" "/"`
       
     8 +  OUTPUT=`printf "$INPUT" | tr "/" "\n" | "$GREP" "$@" | tr "\n" "/"`
       
     9    if test "$OUTPUT" != "$EXPECT" || test "$VERBOSE" = "1"; then
       
    10      echo "Testing:  $GREP $@"
       
    11      test "$LC_ALL" != C && test "$LC_ALL" != "" && echo "  LC_ALL: \"$LC_ALL\""