Activity for checkbashisms

  • mcandre mcandre created ticket #24

    Check for missing colon in default variable expansion

  • mcandre mcandre created ticket #23

    Don't warn on lack of bashisms in core bash configuration files!

  • mcandre mcandre posted a comment on ticket #21

    Additionally, ShellCheck notes that set -o emacs is a bashism. checkbashisms should follow suit.

  • mcandre mcandre created ticket #22

    Fails to note that .bash_login is a standard bash configuration path

  • mcandre mcandre created ticket #21

    Confusion about whether set -o emacs is or is not a bashism

  • mcandre mcandre created ticket #20

    Identify more non-bash configuration filenames

  • mcandre mcandre created ticket #19

    -v rejected as POSIX compliant flag to `command`

  • mcandre mcandre created ticket #18

    -d flag to read is a bashism

  • mcandre mcandre created ticket #17

    true, false are not POSIX sh builtins

  • mcandre mcandre created ticket #16

    Flags to `command` are overly restricted

  • mcandre mcandre created ticket #15

    Option to check for bash4 specific code

  • mcandre mcandre modified a comment on ticket #14

    Note that the for keyword is NOT a bashism. The for loop has been in POSIX sh for some time, though it can only be used with an array literal or with $@ (implicit when the "in foo bar baz" part is omitted), not with any kind of array variable. $@ is not a bashism. $* is not a bashism. ${@:someinteger} and "${@:someinteger}" ARE bashisms, as bare POSIX sh does not features these shift shorthand convenience forms.

  • mcandre mcandre modified a comment on ticket #14

    (I spoke too early in this comment about treating some things like for, $@, and $* as bashisms.)

  • mcandre mcandre posted a comment on ticket #14

    Note that the for keyword is NOT a bashism. The for loop has been in POSIX sh for some time, though it can only be used with an array literal or with $@ (implicit when the "in foo bar baz" part is omitted), not with any kind of array variable. $@ is not a bashism. $* is not a bashism.

  • mcandre mcandre modified a comment on ticket #14

    And the $@, $* variables are bashisms. Though $# and shift are POSIX safe. Of course, double-quote protected forms like "${@...}" and "${*...}" are also bashisms.

  • mcandre mcandre modified a comment on ticket #14

    Note that the for keyword is also a bashism. And the $@, $* variables are bashisms. Though $# and shift are POSIX safe. Of course, double-quote protected forms like "${@...}" and "${*...}" are also bashisms.

  • mcandre mcandre modified a comment on ticket #14

    Note that the for keyword is also a bashism. And the $@, $* variables are bashisms. Though $# and shift are POSIX safe. Of course, double-quote protected forms like "${@...}" and "${@*...}" are also bashisms.

  • mcandre mcandre modified a comment on ticket #14

    Note that the "for" keyword is also a bashism. And the $@, $* variables are bashisms. Though $# and shift are POSIX safe.

  • mcandre mcandre posted a comment on ticket #14

    Note that the "for" keyword is also a bashism.

  • mcandre mcandre created ticket #14

    Check for anything to do with arrays

  • mcandre mcandre created ticket #13

    Exclude non-shell script files from linting

  • mcandre mcandre posted a comment on ticket #12

    This would likely require some AST manipulation, not for the faint of heart.

  • mcandre mcandre created ticket #12

    Scanning Makefile's for bashisms

  • mcandre mcandre created ticket #11

    Consider set -o pipefail a bashism

  • Mike Frysinger Mike Frysinger created ticket #10

    look for new bash-4 features

  • Mark Hobley Mark Hobley created a wiki page

    portable syntax

  • Mark Hobley Mark Hobley modified a wiki page

    Home+

  • Mike Frysinger Mike Frysinger modified a comment on ticket #9

    the point of this script is to check for bashisms which is typically defined as "not...

  • Mike Frysinger Mike Frysinger posted a comment on ticket #9

    the point of this script is to check for bashisms which is typically defined as "not...

  • Mark Hobley Mark Hobley renamed a wiki page

    Home+

  • Mark Hobley Mark Hobley posted a comment on ticket #9

    Allowed by POSIX, but not some Unix shells (Test with osh, ash386). Warn user of...

  • Mike Frysinger Mike Frysinger posted a comment on ticket #9

    simple patch

  • Mike Frysinger Mike Frysinger posted a comment on ticket #1

    simple patch

  • Mike Frysinger Mike Frysinger posted a comment on ticket #5

    simple fixes attached -- i think it best to just delete the tests details in each...

  • Mike Frysinger Mike Frysinger posted a comment on ticket #3

    those are parenthesis, not braces. even then, this is perfectly valid POSIX code....

  • Mike Frysinger Mike Frysinger posted a comment on ticket #2

    those are parenthesis, not braces. that is also valid POSIX shell code, so what exactly...

  • Mike Frysinger Mike Frysinger posted a comment on ticket #8

    this is already handled. please post an example script where it doesn't work for...

  • Mike Frysinger Mike Frysinger created ticket #9

    `export foo=bar` failure is incorrect

  • mcandre mcandre posted a comment on ticket #8

    Some modern descendants like ash/dash do not recognize source, only dot (.), making...

  • mcandre mcandre modified a comment on ticket #8

    Note: Except for csh/tcsh, which are non-POSIX compliant. csh and tcsh only recognize...

  • mcandre mcandre modified a comment on ticket #8

    Note: Except for csh/tcsh, which are non-POSIX compliant. csh and tcsh only recognizes...

  • mcandre mcandre modified a comment on ticket #8

    Note: Except for csh/tcsh, which is non-POSIX compliant. csh and tcsh only recognizes...

  • mcandre mcandre posted a comment on ticket #8

    Note: Except for csh, which is non-POSIX compliant. csh only recognizes source, not...

  • mcandre mcandre created ticket #8

    Encourage dot (`.`) over `source`

  • Mark Hobley Mark Hobley posted a comment on ticket #7

    Hi Andrew. There is a problem on the sourceforge server side that I cannot fix. For...

  • mcandre mcandre created ticket #7

    Home page down

  • Morten Morten created ticket #6

    Unterminated quoted string found, EOF reached.

1
MongoDB Logo MongoDB