#!/bin/bash
. /var/adm/Squota/quotavars
if test $UID = 0
  then
  if test "$1" = "-u"
    then
      cat $HQ/quota.daily.$MON | grep $DAY | grep $2 |cut -d" " -f2-
      exit 2
  fi
else
cat $HQ/quota.daily.$MON | grep $DAY | grep $UID |cut -d" " -f2-
fi
