#!/bin/sh # # Copyright 2005 Stichting Wireless Leiden # Rick van der Zwet # if [ $1 ]; then zonenumber=$1 cat */wleiden.conf | grep ^IP | grep 172.${zonenumber} | sed s/IP=172.${zonenumber}.// |\ sort -n | sed s/^/172.${zonenumber}./ else echo "Usage $0 " echo "Get used ip addresses" fi