From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 1 of 7] user: consolidate $arch tests and allow $arch to be "-" Date: Sun, 02 Nov 2008 11:03:08 +0200 Message-ID: <490D6CCC.2040701@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org, kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kvm-ppc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Hollis Blanchard Return-path: In-Reply-To: Sender: kvm-ppc-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: kvm.vger.kernel.org Hollis Blanchard wrote: > Use case/esac instead of multiple if/fi tests, allowing us to use wildcards. > Just a note: if/fi allows wildcards as well: if "$reply" = y*; then # assume user can't spell ... fi though case is better in this esac. (I can't believe I used the word 'better' in the context of bash) -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html