From: Johannes Sixt Date: Tue, 16 Jun 2009 08:13:12 GMT Subject: Re: [PATCHv3 2/4] git-sh-setup: introduce say() for quiet options Message-ID: <4A375418.8050401@viscovery.net> In-Reply-To: <1245117905-19351-3-git-send-email-bebarino@gmail.com> Stephen Boyd schrieb: > +say () { > + if test -z "$GIT_QUIET" > + then > + printf "%s" "$*" > + echo You can squash these two lines into printf '%s\n' "$*" -- Hannes