]> gitweb.michael.orlitzky.com - hath.git/blobdiff - test/shell/manpage-sort.test
Document a pipe-to-sort and justify the lack of a special CIDR sort.
[hath.git] / test / shell / manpage-sort.test
diff --git a/test/shell/manpage-sort.test b/test/shell/manpage-sort.test
new file mode 100644 (file)
index 0000000..56dd025
--- /dev/null
@@ -0,0 +1,7 @@
+# Test the pipe-to-sort example from the man page.
+
+echo "192.168.0.100/24 192.167.1.200/24" | dist/build/hath/hath reduced | sort
+>>>
+192.167.1.200/24
+192.168.0.100/24
+>>>= 0