Quoted Variables Retain Newlines
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
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