Eric Blake <ebb9 <at> byu.net> writes:

> 
> +# Check that grep can parse nonprinting characters
> +# BSD grep can do so from a pipe, but not a file.

Maybe we should also add a line:
+# BSD 'grep -a' does just fine from files, but 'grep -a' is not portable.

> -  grep ": pass" stdout | $FGREP "$grn"
> +  cat stdout | grep ": pass" | $FGREP "$grn"

Wow - I wrote something that superficially looks like a useless use of cat, but 
which actually changes the test outcome.

-- 
Eric Blake




Reply via email to