On Sun, Oct 29, 2006, martin f krafft wrote: > First, I would use a case statement instead of echo | grep.
Right. > Second, how about: > local UMOUNT_OUTPUT > if UMOUNT_OUTPUT="$(LC_ALL=C umount "$BUILDPLACE/$1")"; then > # it worked > else > # it did not > fi Ah, thanks! For some reason, this layout didn't occur to my mind. I will have to update some scripts now. -- Loïc Minier <[EMAIL PROTECTED]>

