On Tue, 5 Oct 2004, Stephen Burke wrote:
> Now there's a challenge ...
I guess I should show my working; I think this could be entered in an
obfuscated programming contest (it's all one line):
for VO in atlas cms lhcb alice babar dzero hone zeus sixt dteam; do echo; echo $VO:; echo; ldapsearch -x -h lcgbdii02.gridpp.rl.ac.uk -p 2170 -b o=grid "(&(objectclass=GlueCE)(GlueCEUniqueID=*.ac.uk*)(GlueCEAccessControlBaseRule=VO:$VO))" GlueCEInfoHostName | grep GlueCEInfoHostName: | sort | uniq | cut -d: -f2; done
Stephen
|