83fb1bb453e1f7b7977c262d647c1f5d2dd4dea9
8 local value
="$(sed -rne 's/^[ \t]*'"$option"'[ \t]+(([^ \t\\]|\\.)+)[ \t]*$/\1/p' "$config" | tail -n1 | sed -re 's/\\(.)/\1/g')"
9 [ -n "$value" ] || value
="$(sed -rne 's/^[ \t]*'"$option"'[ \t]+'"'([^']+)'"'[ \t]*$
/\
1/p
' "$config" | tail -n1)"
10 [ -n "$value" ] || value="$(sed -rne 's
/^
[ \t]*'"$option"'[ \t]+"(([^"\\]|
\\.
)+)"[ \t]*$/\1/p' "$config" | tail -n1 | sed -re 's/\\(.)/\1/g')"
11 [ -n "$value" ] ||
return 1
13 export -n "$variable=$value"