From: Junio C Hamano <hidden> Date: 2016-06-15 22:49:38
Uwe Kleine-König [off-list ref] writes:
The command 's/'\''/'\''\'\'\''/g' only triples single quotes:
$ echo "What's up?" | sed 's/'\''/'\''\'\'\''/g'
What'''s up?
This doesn't hurt as compared to a single single quote it only adds an
empty string, but it makes the script needlessly complicated and hard to
understand.
Interesting. I think this was an ancient misconversion that dates back to
June 2005 ;-)
Thanks.