Make 1989/fubar/fubar.sh use bash

Fixed for ShellCheck as well.

The if [ .. ] was changed to if [[ .. ]] and this was done in the C code
as well.
This commit is contained in:
Cody Boone Ferguson committed 2024-01-11 09:10:10 -08:00
1 parent 51790b6a94
commit 92a6682216
3 files changed
+7 -4

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ if(m && q=='T' && o=='T'){m=0;(void)fread(tt,11,1,stdin);(void)printf("T %9d\n",
cc ouroboros.c -o x
#define zxc ;{/*
cat ./ouroboros.c | ./x $1 > x1
if [ $? -ne 0 ]; then
if [[ $? -ne 0 ]]; then
exit
fi
mv x1 ./ouroboros.c