#!/usr/local/bin/gawk -f # @(#) aw.gawk 2.1 97/02/24 # 91/01/29 john h. dubois iii (john@armory.com) # 92/02/16 added help # 92/05/01 changed to #!awk script # 95/04/24 filbo@armory.com Pass arguments to w # 95/12/23 Work w/varying pos of Idle field. Work around gawk+protlib bugs. # 95/12/26 Remove leading 'tty' from tty names. # 95/12/27 Remove meridian and one char from idle field. This reduces lines # to a length that will never wrap. Added all options. # 96/01/20 Look for rcfile in $UHOME also. # 96/10/19 Added w option. Deal with - in idle column. Added x option. BEGIN { Name = "aw" rcFile = "." Name Usage = Name \ " [-chx] [-i