And bash isn't what is interpreting the script?
Yes. Init scripts are always interpreted by /bin/sh, even if the default $SHELL is /bin/bash.
qwurx [shmem] ~> /bin/bash -c 'if [[ 1 -eq 1 ]]; then echo yup; fi' yup qwurx [shmem] ~> /bin/sh -c 'if [[ 1 -eq 1 ]]; then echo yup; fi' /bin/sh: 1: [[: not found
update: not sure what might befall within the systemd usurpation... *sigh*
In reply to Re: Back-ticks and bash
by shmem
in thread Back-ticks and bash
by Wiggins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |