Compare these two lines of shell script:
printf '%s' 's/./\\&/g' #1, s/./\\&/g
printf '%s' `printf '%s' 's/./\\&/g'` #2, s/./\&/g
My question is: why does the single-quoted double backslashes get interpreted as a single backslash for the second line of script?