On Tue, Jul 06, 2010 at 10:25:43PM -0700, Junio C Hamano wrote: > Why do I feel a deja-vu for this patch? > Maybe this one: http://thread.gmane.org/gmane.comp.version-control.git/146999 But the sed hack used there isn't a clean solution, IMHO a more elegant solution is to use read -r, what my patch does.