The "xxxxxxxx" is an unknown string. It could be "abcd" or "xyz" etc. I mentioned "xxxxxx" to indicate unknown string. So I can't search for this string.
Now, say $1= "mnopqr".
If I say "export TZ=$1" in the field for line to be replaced with in the sed command, will it write "export TZ=$1" or "export TZ=mnopqr".
I'd want it to be replaced with "mnopqr" and not $1.