From da2f85d5e45d715f170e3c7e79a5c266cddd2141 Mon Sep 17 00:00:00 2001 From: hjp Date: Wed, 14 Aug 2002 18:49:29 +0000 Subject: [PATCH] Removed fqdn. This is no longer a tiny shell script but a (not much larger) C program and resides now in ../dns/. --- tiny/fqdn | 9 --------- 1 file changed, 9 deletions(-) delete mode 100755 tiny/fqdn diff --git a/tiny/fqdn b/tiny/fqdn deleted file mode 100755 index cd57f45..0000000 --- a/tiny/fqdn +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -[ $# -ge 2 ] && { echo "Usage: $0 [hostname]" >&2; exit 1; } -if [ $# -eq 1 ] -then - hostname=$1 -else - hostname="`/bin/hostname`" -fi -/usr/bin/nslookup $hostname | /bin/grep Name: | /bin/sed -e 's/.* *//'