ShellCheck in 2014/maffiodo1 scripts
Disable the useless cat warning. There is no such thing as a useless cat.
This commit is contained in:
1 parent
b88193f360
commit
7d432e5f09
2 files changed
+4
No files matched your search
@@ -23,4 +23,6 @@ if [[ -z "$COLS" ]]; then
|
|||||||
COLS="640"
|
COLS="640"
|
||||||
fi
|
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
|
cat giana.level | ./prog "$COLS" "$ROWS" 1000 300 192 168 giana.rgba giana8.wav 5459393
|
||||||
@@ -23,4 +23,6 @@ if [[ -z "$COLS" ]]; then
|
|||||||
COLS="640"
|
COLS="640"
|
||||||
fi
|
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
|
cat mario.level | ./prog "$COLS" "$ROWS" 800 300 128 144 mario.rgba mario8.wav 10343679 && telnet telehack.com 23
|
||||||
Reference in new issue
Block a user