From: Michael Orlitzky Date: Tue, 18 Apr 2017 15:42:22 +0000 (-0400) Subject: Undo my totally-wrong man page example for pipe-to-sort. X-Git-Tag: 0.4.0~1 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=097949fec1de71ad9f7d94dc16980c8ca4a18640;p=hath.git Undo my totally-wrong man page example for pipe-to-sort. --- diff --git a/doc/man1/hath.1 b/doc/man1/hath.1 index 8597835..488cebb 100644 --- a/doc/man1/hath.1 +++ b/doc/man1/hath.1 @@ -101,21 +101,6 @@ Use the \(dqdig\(dq command to look up the PTR records for a netblock: 4.0.41.198.in-addr.arpa. 897 IN PTR a.root-servers.net. 6.0.41.198.in-addr.arpa. 900 IN PTR rs.internic.net. .fi -.P -Sort the \(dqreduced\(dq output: - -.nf -.I $ echo \(dq192.168.0.100/24 192.167.1.200/24\(dq | hath reduced | sort -192.167.1.200/24 -192.168.0.100/24 -.fi - -Sorting the output only makes sense for the \(dqreduced\(dq mode. In -that mode, two output CIDRs cannot have same the numeric address and a -different mask: one of them would contain the other, and the redundant -one would be eliminated. As a result, there is no need for a special -CIDR sort; the lexical or numerical sort provided by the \(dqsort\(dq -utility will produce the same results as a more intelligent sort. .SH OPTIONS .IP \fB\-\-barriers\fR,\ \fB\-b\fR