#!/bin/sh
#
# Copyrighted as an unpublished work.
# (c) Copyright 1996,1997,1998 DESY Hamburg DMG-Division
# All rights reserved.
#
#
# RESTRICTED RIGHTS
#
# These programs are supplied under a license.  They may be used,
# disclosed, and/or copied only as permitted under such license
# agreement.  Any copy must contain the above copyright notice and
# this restricted rights notice.  Use, copying, and/or disclosure
# of the programs is strictly prohibited unless otherwise provided
# in the license agreement.
#
#
exports=/pnfs/fs/admin/etc/exports
#
cd $exports
ls  | while read name ; do
  if [ ! -h $name ] ; then continue ; fi
  awk '{ printf "%-10s %-10s %3s %s\n",host,$1,$3,$2 }' host=$name $name
done
