Since eval might be considered evil, another more obscure solution would
be to use arrays which are also supported by both shells. For example:
CMD=(date -u)
"${c...@]}"
However, this will not work with dash, so the compromise is either to
use eval which works almost everywhere or arrays which works on real
shells.
--
Virt-manager unable to display guest consoles when connecting to a host user
who is using the zsh shell
https://bugs.launchpad.net/bugs/556113
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs