./shells/shellcheck, Shell script analysis tool

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.10.0, Package name: shellcheck-0.10.0, Maintainer: pkgsrc-users

ShellCheck - 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: 229.352 KB

Version history: (Expand)


CVS history: (Expand)


   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
   2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141)
Log message:
Revbump all Haskell after updating lang/ghc96
   2023-10-30 10:39:07 by Masatake Daimon | Files touched by this commit (2)
Log message:
shells/shellcheck: Fix build with GHC 9.6
   2023-10-09 06:55:01 by Masatake Daimon | Files touched by this commit (988)
Log message:
Bump Haskell packages after updating lang/ghc94
   2023-01-16 17:43:24 by Nikita | Files touched by this commit (3) | Package updated
Log message:
shellcheck: update to version 0.9.0

ChangeLog:

v0.9.0 - 2022-12-12
Added
    SC2316: Warn about 'local readonly foo' and similar (thanks, patrickxia!)
    SC2317: Warn about unreachable commands
    SC2318: Warn about backreferences in 'declare x=1 y=$x'
    SC2319/SC2320: Warn when $? refers to echo/printf/[ ]/[[ ]]/test
    SC2321: Suggest removing ((..))inarray[((idx))]=val
    SC2322: Suggest collapsing double parentheses in arithmetic contexts
    SC2323: Suggest removing wrapping parentheses in a[(x+1)]=val

Fixed
    SC2086: Now uses DFA to make more accurate predictions about values
    SC2086: No longer warns about values declared as integer with declare -i

Changed
    ShellCheck now has a Data Flow Analysis engine to make smarter decisions
    based on control flow rather than just syntax. Existing checks will
    gradually start using it, which may cause them to trigger differently
    (but more accurately).
    Values in directives/shellcheckrc can now be quoted with '' or ""
   2022-08-20 10:08:24 by Thomas Klausner | Files touched by this commit (211)
Log message:
hs*: recursive bump for new dependencies needed

for hs-aeson, hs-vector
   2022-02-26 04:58:36 by Masatake Daimon | Files touched by this commit (872)
Log message:
Bump all Haskell packages after enabling "split sections" in mk/haskell.mk
   2022-02-12 09:51:00 by Masatake Daimon | Files touched by this commit (575)
Log message:
revbump after changing the default Haskell compiler