X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=test%2Fshell%2Fmanpage-regexed.test;h=351e5c6d78ac06c7e38b1a2d730e5759301877d4;hb=2744428b39c7f253d6629335b9cb4122e224e177;hp=9b09f11a7e0856d3df5427e6fafabbfe27274349;hpb=72645e4a98e9d14eac3220c00058efe2d8fae489;p=hath.git diff --git a/test/shell/manpage-regexed.test b/test/shell/manpage-regexed.test index 9b09f11..351e5c6 100644 --- a/test/shell/manpage-regexed.test +++ b/test/shell/manpage-regexed.test @@ -1,5 +1,5 @@ # Test the regexed example from the man page. -dist/build/hath/hath <<< "10.0.0.0/29 10.0.0.8/29" +echo "10.0.0.0/29 10.0.0.8/29" | dist/build/hath/hath >>> -((10)\.(0)\.(0)\.(0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15)) +((10)\.(0)\.(0)\.(15|14|13|12|11|10|9|8|7|6|5|4|3|2|1|0)) >>>= 0