# Test the --barriers examples from the manpage. # The first one matches a line it probably shouldn't. grep -P --color=never $(dist/build/hath/hath <<< 127.0.0.1/32) <<< 127.0.0.100 >>> 127.0.0.100 >>>= 0 # This one uses --barriers, and doesn't match that same line. grep -P $(dist/build/hath/hath -b <<< 127.0.0.1/32) <<< 127.0.0.100 >>> >>>= 1 # But, using barriers makes the regexp match something it shouldn't. grep -Po --color=never $(dist/build/hath/hath -b <<< 127.0.0.1/32) <<< x127.0.0.1x >>> x127.0.0.1x >>>= 0