July 16th, 2008

brain

On line noise

[[ ${!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.