will work; that functionality is unspecified and is not guaranteed.
For example, the following are equivalent:
will work; that functionality is unspecified and is not guaranteed.
For example, the following are equivalent:
# $(echo) construct is to use word splitting to normalize whitespace
add) currpkgs="$(echo $currpkgs) $pkgs";;
del) # XXX: there's probably a more efficient way to do this
# $(echo) construct is to use word splitting to normalize whitespace
add) currpkgs="$(echo $currpkgs) $pkgs";;
del) # XXX: there's probably a more efficient way to do this