var='one "second stuff" third'
array=($var)
Should return an array of [0] one [1] second stuff [2] third but instead returns an array of 4 items splitting "second stuff" in 2 even though that item is double quoted. Why?
var='one "second stuff" third'
array=($var)
Should return an array of [0] one [1] second stuff [2] third but instead returns an array of 4 items splitting "second stuff" in 2 even though that item is double quoted. Why?