X-Git-Url: http://gitweb.michael.orlitzky.com/?p=hath.git;a=blobdiff_plain;f=test%2Fshell%2Fmatch-class-c.test;h=b08fb63cf215ea1ae0a62b95abdd828b382ad2b4;hp=0e0bef85bbd7dd76ca5edb563c2e6146793c491d;hb=2744428b39c7f253d6629335b9cb4122e224e177;hpb=02a793ab4325e5d04eb3ae3450aa33d01b4b4d1c diff --git a/test/shell/match-class-c.test b/test/shell/match-class-c.test index 0e0bef8..b08fb63 100644 --- a/test/shell/match-class-c.test +++ b/test/shell/match-class-c.test @@ -1,6 +1,6 @@ # We should match every address in this class C. # (input/output generated with `hath listed`) -grep -Po --color=never $(dist/build/hath/hath <<< "192.168.0.0/24") +grep -Po $(echo 192.168.0.0/24 | dist/build/hath/hath) <<< 192.168.0.0 192.168.0.1