You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hiya, I noticed the following when trying to run the example script big-red-button.sh. The Ubuntu (15.04) executable /usr/bin/printf lacks %q support. The bash built-in has it however, and changing the #!/bin/sh at the top of the script to #!/bin/bash removes the error.
❯ sudo ./bonkers -c examples/big-red-button.sh
State switched from '' to '0 1'
Strange arguments:examples/big-red-button.sh: 44: printf: %q: invalid directive
❯ which printf
/usr/bin/printf
❯ /usr/bin/printf --version
printf (GNU coreutils) 8.23
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by David MacKenzie.
❯ bash --version
GNU bash, version 4.3.42(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
master ❯
The text was updated successfully, but these errors were encountered:
Hiya, I noticed the following when trying to run the example script
big-red-button.sh
. The Ubuntu (15.04) executable/usr/bin/printf
lacks%q
support. The bash built-in has it however, and changing the#!/bin/sh
at the top of the script to#!/bin/bash
removes the error.The text was updated successfully, but these errors were encountered: