#!/bin/sh
#
# Special finger target .busy --
#	Print users that aren't idle.
#
# $Id: x-.busy,v 1.2 1994/09/15 06:48:08 stolcke Exp $
#
# XXX: Path may need to be adjusted for non-standard location
echo .all | /usr/pkg/libexec/in.fingerd | awk '
# Header line: print it and find idle time column
NR == 1 {
	print;
	idlecol = index($0, "Idle");
}
NR > 1 {
	if (substr($0, idlecol, 4) == "    ") print;
}
'
