#!/bin/sh -u # # $0 (no arguments) # # Finger the UofWaterloo Computer Graphics Lab. # Show the online users with line numbers. # # The Algonquin ITS Dept. blocks "finger" from working into / out of # the College, so you can't try this at Algonquin College unless you # change the machine being fingered to one allowed by ITS. # # -IAN! idallen@ncf.ca export PATH=/bin:/usr/bin umask 022 # The +3 skips over the first two title lines output by finger # The -b option to cat numbers the non-blank output lines. # finger @cgl.uwaterloo.ca | tail -n +3 | cat -b