GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — shell-script/034-quota.sh at master · srinivart/shell-script Expand file tree/ Copy path034-quota.shMore file actions executable file ·25 lines (21 loc) · 719 Bytes / Copy path034-quota.shFile metadata and controlsexecutable file ·25 lines (21 loc) · 719 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 #!/bin/sh # newquota - a front-end to quota that works with fullword flags a la GNU # quota has three possible flags: -g, -v and -q and in this script # we allow them to be '--group' '--verbose' and '--quiet' too: flags="" realquota="/usr/bin/quota" while [ $# -gt 0 ] do echo checking flag $1 case $1 in --help ) echo "Usage: $0 [--group --verbose --quiet -gvq]" >&2 exit 1 ;; --group | -group) flags="$flags -g"; shift ;; --verbose | -verbose) flags="$flags -v"; shift ;; --quiet | -quiet) flags="$flags -q"; shift ;; -- ) shift; break ;; * ) break; # done with 'while' loop! esac done exec $realquota $flags "$@" |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |