tr@thumper.UUCP (04/27/87)
I didn't know where to put this so I am putting it here. I don't
subscribe to comp.unix.wizards because the traffic is too great.
I hope you like my script. You need to have csh on your system to use
it. I think most Unix systems do these days. The script will print
all .plan files of users logged in that are readable to you. I have
seen some surprising ones that I would not have seen. I like this
better than finger because the contents are cleaner and thus less
likely to distract the user's eyes.
--- cut here ---
#! /bin/csh
foreach i (`users`)
set file = ~${i}/.plan
if (-r $file) then
echo ''
echo ${i}:
cat $file
endif
end
--- cut here ---
--
Tom Reingold
INTERNET: tr@bellcore.com
UUCP: ..!decvax!ucbvax!ulysses!bellcore!tr
ihnp4!mhuxt/