Re: [PATCH 1/1] Guilt: Fixed guilt-patchbomb temporary mbox deletion bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nur Hussein <hussein@xxxxxxxxx> writes:

>  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


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]