Removed fqdn.

This is no longer a tiny shell script but a (not much larger) C program
and resides now in ../dns/.
This commit is contained in:
hjp 2002-08-14 18:49:29 +00:00
parent b9699494bb
commit da2f85d5e4
1 changed files with 0 additions and 9 deletions

View File

@ -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/.* *//'