Path to this page:
./
shells/shellcheck,
Shell script analysis tool
Branch: CURRENT,
Version: 0.11.0,
Package name: shellcheck-0.11.0,
Maintainer: drixterShellCheck - A shell script static analysis tool
ShellCheck is a GPLv3 tool that gives warnings and suggestions for
bash/sh shell scripts.
The goals of ShellCheck are:
* To point out and clarify typical beginner's syntax issues that cause
a shell to give cryptic error messages.
* To point out and clarify typical intermediate level semantic problems
that cause a shell to behave strangely and counter-intuitively.
* To point out subtle caveats, corner cases and pitfalls that may cause
an advanced user's otherwise working script to fail under future
circumstances.
Master sites:
Filesize: 233.705 KB
Version history: (Expand)
- (2026-06-14) Updated to version: shellcheck-0.11.0
- (2025-10-24) Package has been reborn
- (2025-10-24) Package deleted from pkgsrc
- (2025-08-13) Updated to version: shellcheck-0.10.0nb4
- (2025-03-05) Updated to version: shellcheck-0.10.0nb3
- (2025-02-02) Updated to version: shellcheck-0.10.0nb2
CVS history: (Expand)
| 2026-06-14 10:35:34 by Marcin Gondek | Files touched by this commit (2) |
Log message:
shells/shellcheck: Update to v0.11.0
v0.11.0 - 2025-08-03
Added
SC2327/SC2328: Warn about capturing the output of redirected commands.
SC2329: Warn when (non-escaping) functions are never invoked.
SC2330: Warn about unsupported glob matches with [[ .. ]] in BusyBox.
SC2331: Suggest using standard -e instead of unary -a in tests.
SC2332: Warn about [ ! -o opt ] being unconditionally true in Bash.
SC3062: Warn about bashism [ -o opt ].
Optional avoid-negated-conditions: suggest replacing [ ! a -eq b ]
with [ a -ne b ], and similar for -ge/-lt/=/!=/etc (SC2335).
Precompiled binaries for Linux riscv64 (linux.riscv64)
Changed
SC2002 about Useless Use Of Cat is now disabled by default. It can be
re-enabled with --enable=useless-use-of-cat or equivalent directive.
SC2236/SC2237 about replacing [ ! -n .. ] with [ -z ] and vice versa
is now optional under avoid-negated-conditions.
SC2015 about A && B || C no longer triggers when B is a test command.
SC3012: Do not warn about \< and \> in test/[] as specified in POSIX.1-2024
Diff output now uses / as path separator on Windows
Fixed
SC2218 about function use-before-define is now more accurate.
SC2317 about unreachable commands is now less spammy for nested ones.
SC2292, optional suggestion for [[ ]], now triggers for Busybox.
Updates for Bash 5.3, including ${| cmd; } and source -p
Removed
SC3013: removed since the operators -ot/-nt/-ef are specified in POSIX.1-2024
|
| 2025-08-13 13:07:47 by Masatake Daimon | Files touched by this commit (1263) |
Log message:
Bump all Haskell because lang/ghc910 has got a library change
|
| 2025-03-05 04:40:14 by Masatake Daimon | Files touched by this commit (1173) |
Log message:
recursive revbump after patching lang/ghc910
|
| 2025-02-02 14:06:08 by Masatake Daimon | Files touched by this commit (1173) |
Log message:
Bump all Haskell packages after switching the default compiler.
|
| 2025-02-01 15:52:36 by Masatake Daimon | Files touched by this commit (1) |
Log message:
shells/shellcheck: Fix build with GHC 9.10
|
| 2024-05-09 03:32:57 by Masatake Daimon | Files touched by this commit (1137) |
Log message:
Recursive revbump after changing the default Haskell compiler
|
| 2024-05-02 09:51:56 by Masatake Daimon | Files touched by this commit (2) |
Log message:
shells/shellcheck: Fix build with GHC 9.8
This breaks build with the currently default GHC 9.6. Please bear with me
until I switch the default compiler.
|
2024-04-12 15:51:29 by nikita | Files touched by this commit (2) | 👁 Package updated
|
Log message:
shellcheck: update to version 0.10.0
Changelog:
## v0.10.0 - 2024-03-07
### Added
- Precompiled binaries for macOS ARM64 (darwin.aarch64)
- Added support for busybox sh
- Added flag --rcfile to specify an rc file by name.
- Added `extended-analysis=true` directive to enable/disable dataflow analysis
(with a corresponding --extended-analysis flag).
- SC2324: Warn when x+=1 appends instead of increments
- SC2325: Warn about multiple `!`s in dash/sh.
- SC2326: Warn about `foo | ! bar` in bash/dash/sh.
- SC3012: Warn about lexicographic-compare bashism in test like in [ ]
- SC3013: Warn bashism `test _ -op/-nt/-ef _` like in [ ]
- SC3014: Warn bashism `test _ == _` like in [ ]
- SC3015: Warn bashism `test _ =~ _` like in [ ]
- SC3016: Warn bashism `test -v _` like in [ ]
- SC3017: Warn bashism `test -a _` like in [ ]
### Fixed
- source statements with here docs now work correctly
- "(Array.!): undefined array element" error should no longer occur
|