1 # Test --sort example from the man page.
3 # The default pipe-to-sort doesn't work.
4 echo "10.0.121.32/28 10.0.93.248/29" | dist/build/hath/hath reduced | sort
10 # Neither does a numeric sort.
11 echo "10.0.121.32/28 10.0.93.248/29" | dist/build/hath/hath reduced | sort -n
17 # But the CIDR sort order does.
18 echo "10.0.121.32/28 10.0.93.248/29" | dist/build/hath/hath reduced --sort