BSD 4_4_Lite2 development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Wed, 28 Jun 1989 03:56:12 +0000 (19:56 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Wed, 28 Jun 1989 03:56:12 +0000 (19:56 -0800)
Work on file usr/src/contrib/bind-4.9.2/contrib/dnsparse/sorthosts

Synthesized-from: CSRG/cd3/4.4BSD-Lite2

usr/src/contrib/bind-4.9.2/contrib/dnsparse/sorthosts [new file with mode: 0644]

diff --git a/usr/src/contrib/bind-4.9.2/contrib/dnsparse/sorthosts b/usr/src/contrib/bind-4.9.2/contrib/dnsparse/sorthosts
new file mode 100644 (file)
index 0000000..24cc6d6
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+# takes /etc/hosts-type input & sorts it by Internet number
+# works only on stdin
+exec sort -n -t. +0 -1 +1 -2 +2 -3 +3 -4