ShellCheck in 2014/maffiodo1 scripts

Disable the useless cat warning. There is no such thing as a useless
cat.
This commit is contained in:
Cody Boone Ferguson committed 2023-12-05 12:50:39 -08:00
1 parent b88193f360
commit 7d432e5f09
2 files changed
+4

No files matched your search

+2
View File
@@ -23,4 +23,6 @@ if [[ -z "$COLS" ]]; then
COLS="640"
fi
# ^---------^ SC2002 (style): Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.
# shellcheck disable=SC2002
cat giana.level | ./prog "$COLS" "$ROWS" 1000 300 192 168 giana.rgba giana8.wav 5459393
+2
View File
@@ -23,4 +23,6 @@ if [[ -z "$COLS" ]]; then
COLS="640"
fi
# ^---------^ SC2002 (style): Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.
# shellcheck disable=SC2002
cat mario.level | ./prog "$COLS" "$ROWS" 800 300 128 144 mario.rgba mario8.wav 10343679 && telnet telehack.com 23