From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Gibson Subject: Re: [PATCH REPOST] fdtget-runtest.sh: use printf instead of /bin/echo -e Date: Thu, 13 Dec 2012 10:06:21 +1100 Message-ID: <20121212230621.GQ5217@truffula.fritz.box> References: <1355245551-6988-1-git-send-email-swarren@wwwdotorg.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1355245551-6988-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: Stephen Warren Cc: Stephen Warren , devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org List-Id: devicetree@vger.kernel.org On Tue, Dec 11, 2012 at 10:05:51AM -0700, Stephen Warren wrote: > From: Stephen Warren > > Not all /bin/echo implementations support the -e option. Instead, use > printf, which appears to be more widely available than /bin/echo -e. > > See commit eaec1db "fdtget-runtest.sh: Fix failures when /bin/sh isn't > bash" for history. > > I have tested this on Ubuntu 10.04 with /bin/sh pointing to both dash > and bash. > > Reported-by: Mike Frysinger # and implemented-by > Signed-off-by: Stephen Warren Acked-by: David Gibson -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson