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