Re: [PATCH 1/1] Guilt: Fixed guilt-patchbomb temporary mbox deletion bug
- From
Junio C Hamano <junkio@cox.net>
- Date
- Mar 6, 2007, 07:06 UTC
- Message-ID
- <7vvehesvf1.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <1173164506.4877.19.camel@gandalf.dcc.usm.my>
Nur Hussein <hussein@cs.usm.my> writes:
Show 6 quoted lines
> echo -n "Delete temporary directory? [Y/n] " > read n > > -[ "$n" != "n" -a "$n" != "N" ] && exit 0 > +[ "$n" != "n" -o "$n" != "N" ] && exit 0 > rm -rf $dir
Is it just me who finds this much more readable?
case "$n" in [nN]*) exit 0 ;; esac