izabera 1513263528 learn dump all the variables in a way that can be eval'ed safely: eval "printf '%s=%q\n' $(compgen -v | sed 's/.*/& "$&"/' | tr '\n' ' ')"