On Mon, 22 Mar 2004, Craig White wrote: > I'm now up to ... > for i in `cut -f1 $wdirect/users-homes`; do result=$(( $size_plateau - > $i )); if (($result<=0)); then `echo $i`; fi; done > > so it's time to use the grep thought that Jeremy had I'd do something like: du -sh /home/* | while read line ; do i=`echo $line | cut -f1` ; if [ $i -gt $size_plateau ] ; then echo $i for `echo $line | cut -f2 | xargs -n 1 basename` fi done (not tested) Jeremy C. Reed http://www.reedmedia.net/ --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change you mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss