[[ ${!1} =~ "(^|:)$2(:|$)" ]] || export $1=$2${!1:+:${!1}}
Pint1 to the first to tell me what this is for (name the function).
Pint2 to the first to make it terser.
[[ ${!1} =~ "(^|:)$2(:|$)" ]] || export $1=$2${!1:+:${!1}}
Check out my spiffy G+ profile under this long-established handle, en_ki. (Sorry, you can't, it's blocked. But rumor has it that this post will lead…
I did my fortnightly drop-in to LinkedIn, and had a connection request from an obvious spammer. Their profile information was generic, job…
They do not give you points for Sitting On A Fire-Ant Hill After Your Run. I'm pretty sure that burned some calories.