bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-grep] Bug in grep 2.5.1a (+ patch to fix it)


From: Gordon Lack
Subject: Re: [bug-grep] Bug in grep 2.5.1a (+ patch to fix it)
Date: Thu, 28 Apr 2005 15:58:04 +0100

> Thanks very much, but I already added those tests to foad1.sh yesterday.

./foad1.sh: test: unknown operator ==

Line 20:
  if test "$OUTPUT" != "$EXPECT" || test "$VERBOSE" == "1"; then


  == is a bash/ksh operator.  The standard Bourne shell one is just
"=".  == will work on Linux (sh is bash) and Irix (sh is ksh) but not
other OSes (I happened to do this on OSF1).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]