#!/bin/csh
#List name of userdata files for all users whose level is greater than USER

if (! -d "userdata") then
	echo "Can't find userdata directory. Are you in the right place?"
	exit
endif

find userdata -name "*.D" -exec awk '{ if (NR == 5) { if ($1 > 2) print ARGV[1]; } }' {} \;

