Subject: Re: [PATCH] t4014: shell portability fix

From: Johannes Sixt <[email-masked]>
Date: Wed, 1 Jun 2016 07:48:12 +0200

Am 01.06.2016 um 05:31 schrieb Jeff King:
> 	printf '%s' "$1" | sed "s/'/'\\\\''/g"
...
> 	export -p | grep "^declare -x $1="
...
> 					"$fake_env_var_=$(shellquote "$fake_env_orig_")"
...
> 			eval "$fake_env_var_=$(shellquote "$fake_env_val_")"

An intolerable number of new processes... Please stop this mental exercise.

-- Hannes