#!/bin/sh
#
# nmofif	Determines the netmask of the interface given on the
#		commandline
#
# v1.0	19 July 1998
#####

/sbin/ifconfig $1 | grep Mask: | sed 's/.*Mask:\([0-9.]*\)$/\1/g' 
