Format page for printing
On 09/14/2018 04:54 AM, Torsten Bögershausen wrote: > The "[[" and "]]" are "bash-only". > The easiest fix would be to replace "[[" with "[" and "]]" with "]", FYI this comes up fairly often in the Debian world where bash isn't the default shell. https://wiki.ubuntu.com/DashAsBinSh#I_am_a_developer._How_can_I_avoid_this_problem_in_future.3F There is even a script to check your scripts... http://manpages.ubuntu.com/manpages/bionic/man1/checkbashisms.1.html https://salsa.debian.org/debian/devscripts/blob/master/scripts/checkbashisms.pl