Fix comments for shellcheck in 2014/maffiodo1

This commit is contained in:
Cody Boone Ferguson committed 2024-01-28 11:55:55 -08:00
1 parent 9f5964ec1b
commit a717664483
2 files changed
+14 -2

No files matched your search

+7 -1
View File
@@ -23,6 +23,12 @@ if [[ -z "$COLS" ]]; then
COLS="640"
fi
# ^---------^ SC2002 (style): Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.
# We disable the useless cat warning of ShellCheck because the to use
# instructions have it and for such a long command line it's easier to deal
# with. Besides that it is dubious to claim there is such a thing as useless
# cat.
#
# SC2002 (style): Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.
# https://www.shellcheck.net/wiki/SC2002
# shellcheck disable=SC2002
cat giana.level | ./prog "$COLS" "$ROWS" 1000 300 192 168 giana.rgba giana8.wav 5459393
+7 -1
View File
@@ -23,6 +23,12 @@ if [[ -z "$COLS" ]]; then
COLS="640"
fi
# ^---------^ SC2002 (style): Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.
# We disable the useless cat warning of ShellCheck because the to use
# instructions have it and for such a long command line it's easier to deal
# with. Besides that it is dubious to claim there is such a thing as useless
# cat.
#
# SC2002 (style): Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.
# https://www.shellcheck.net/wiki/SC2002
# shellcheck disable=SC2002
cat mario.level | ./prog "$COLS" "$ROWS" 800 300 128 144 mario.rgba mario8.wav 10343679 && telnet telehack.com 23