Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- eval "$(
- # This subshell take the output of env, quotes it properly, and shoves it
- # onto one line.
- printf export\\t
- env |
- while read -r l; do
- printf %s\\n "$l" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/'/"
- done |
- paste -s -d ' '
- )"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement