[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: faster AS_ECHO on Solaris

From: Paolo Bonzini
Subject: Re: faster AS_ECHO on Solaris
Date: Mon, 10 Nov 2008 17:24:46 +0100
User-agent: Thunderbird (Macintosh/20080914)

> +Since @command{printf} is not always a shell builtin, there is a
> +potential speed penalty for using @code{printf %s\\n} as a replacement
> +for an @command{echo} that does not interpret @samp{\} or leading
> address@hidden With Solaris @command{ksh}, it is possible to use @code{print
> +-r --} for this role instead.

It's not just Solaris, pdksh supports "print -r --" too.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]