From: Uwe Storbeck Date: Mon, 17 Mar 2014 18:38:08 GMT Subject: Re: [PATCH] test-lib.sh: use printf instead of echo Message-ID: <20140317183807.GB1971@ibr.ch> In-Reply-To: <53241688.2050604@kdbg.org> On Mar 15, Johannes Sixt wrote: > > - echo "$@" | sed -e 's/^/# /' > > + printf '%s\n' "$@" | sed -e 's/^/# /' > > This should be > > printf '%s\n' "$*" | sed -e 's/^/# /' Right, that should be $* to always be one argument for the format pattern. Thanks Uwe