Le 6 juil. 2012 à 15:54, Stefano Lattarini a écrit : > On 07/06/2012 03:28 PM, Akim Demaille wrote: >> >> Le 6 juil. 2012 à 15:21, Stefano Lattarini a écrit : >> >>> Why not shave off the extra forks here? >>> >>> printf "$me: $warnf_format_" "$@" >&2 >>> >>> This shouldn't cause problems, unless '$me' contains '%' or '\' characters. >> >> Or end of line. >> > You mean in one "$@" entry, not in "$me", right? If yes, point taken.
Yes, I do. > I didn't think about the use cases you've described, and they wouldn't > have seemed important *to me*; but if they are to you, please use your > original formulation. I don't think it's really worth worrying about > performance in this case anyway. Sure not worth holding this patch > back! I'm waiting for Jim's call.