clink
clink copied to clipboard
env breaks for multi line environments
i've a multi line ENV called
BASH_FUNC=() { . /usr/share/foo.sh
}
my container will then be called with --env "}"
probably dangerous?
I don't follow. Can you tell me how you're declaring this, so I can test?
I've mc installed. it comes with the multi line 'BASH_FUNC_mc%%' ENV.
shell way for producing multi line environments could be the following.
#!/bin/sh
TEST="$(cat <<-EOF
foo
bar
baz
EOF
)"
export TEST=$TEST
env | grep TEST -A 2