Made env, eenv commands more robust

to cope well with multi-line values.