Changeset 1748
- Timestamp:
- 11/28/06 03:20:50 (6 years ago)
- File:
-
- 1 edited
-
alternc/trunk/src/quota_get.sh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
alternc/trunk/src/quota_get.sh
r1744 r1748 8 8 QUOTA=/usr/bin/quota 9 9 GREP=/bin/grep 10 WC=/usr/bin/wc 10 11 11 12 DATA_PART=`$DF ${ALTERNC_LOC} 2>/dev/null | $AWK '/^\// { print $1 }'` … … 21 22 # quota will split its display on two lines if QUOTA_PART is bigger than 15 22 23 # characters. *sigh* 23 PART_LEN=`echo -n "$QUOTA_PART" | wc-c`24 PART_LEN=`echo -n "$QUOTA_PART" | $WC -c` 24 25 if [ "$PART_LEN" -gt 15 ]; then 25 26 $QUOTA -g "$1" |
Note: See TracChangeset
for help on using the changeset viewer.
