Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Although on the right track, the previous attempt at filtering out multi-line environment variables did not correctly handle cases in which the value associated to an environment variable would contain a `=` character: in these cases, `awk` would split the record into more than two fields, and therefore it was entirely possible that `$2 !~ /n/` would be false. The correct approach is to test for newlines in the concatenation of fields $2..$NF, for which see: https://stackoverflow.com/questions/19154996/awk-split-only-by-first-occurrence
- Loading branch information