mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-20 21:33:50 -07:00
feat(SC2143): add grep variants for compressed data
This commit is contained in:
parent
7dc4214149
commit
6e65eb7136
1 changed files with 1 additions and 1 deletions
|
@ -3115,7 +3115,7 @@ checkShouldUseGrepQ params t =
|
||||||
T_DollarExpansion _ [x] -> getPipeline x
|
T_DollarExpansion _ [x] -> getPipeline x
|
||||||
T_Pipeline _ _ cmds -> return cmds
|
T_Pipeline _ _ cmds -> return cmds
|
||||||
_ -> fail "unknown"
|
_ -> fail "unknown"
|
||||||
isGrep = (`elem` ["grep", "egrep", "fgrep", "zgrep"])
|
isGrep = (`elem` ["grep", "egrep", "fgrep", "bz3grep", "bzgrep", "xzgrep", "zgrep", "zipgrep", "zstdgrep"])
|
||||||
|
|
||||||
prop_checkTestArgumentSplitting1 = verify checkTestArgumentSplitting "[ -e *.mp3 ]"
|
prop_checkTestArgumentSplitting1 = verify checkTestArgumentSplitting "[ -e *.mp3 ]"
|
||||||
prop_checkTestArgumentSplitting2 = verifyNot checkTestArgumentSplitting "[[ $a == *b* ]]"
|
prop_checkTestArgumentSplitting2 = verifyNot checkTestArgumentSplitting "[[ $a == *b* ]]"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue