Skip to content

Quoted Variables Retain Newlines

Michael Aaron Murphy requested to merge mmstick:retain_newlines into master

This will fix the issue of newlines not being retained when a variable is quoted.

Example:

let A = "$(seq 1 10)"; echo $A; echo "$A"
1 2 3 4 5 6 7 8 9 10
1
2
3
4
5
6
7
8
9
10

Merge request reports