#!/bin/csh
if ($#argv != 1) then
        echo "Usage: $0 <site of a user>"
        exit
endif

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

cd userdata
grep -H $1 A/*
grep -H $1 B/*
grep -H $1 C/*
grep -H $1 D/*
grep -H $1 E/*
grep -H $1 F/*
grep -H $1 G/*
grep -H $1 H/*
grep -H $1 I/*
grep -H $1 J/*
grep -H $1 K/*
grep -H $1 L/*
grep -H $1 M/*
grep -H $1 N/*
grep -H $1 O/*
grep -H $1 P/*
grep -H $1 Q/*
grep -H $1 R/*
grep -H $1 S/*
grep -H $1 T/*
grep -H $1 U/*
grep -H $1 V/*
grep -H $1 W/*
grep -H $1 X/*
grep -H $1 Y/*
grep -H $1 Z/*

