Re: [PATCH] Use printf rather than echo -n.
- From
Jason Riedy <ejr@eecs.berkeley.edu>
- Date
- Dec 7, 2005, 03:31 UTC
- Message-ID
- <21616.1133926303@lotus.CS.Berkeley.EDU>
- In-Reply-To
- <7vfyp5zmqe.fsf@assigned-by-dhcp.cox.net>
And Junio C Hamano writes: - Perhaps printf '%s' "$blah" to futureproof, instead of just - saying printf "$blah"?
Definitely more likely to stay correct. I'm just lazy.
- <rant mode on> - While I do not have anything aginst system without "sane" echo, - I really do not like it. Not your solution, but *having to do* - something like that.
Um, you think the wrong one is sane. ;) Why should echo in Bourne shell take C-shell arguments? (I blame AT&T for their crappy licensing.)
Jason