News for hackers. Stuff that matters.
Re:ShellCheck: Finds bugs in your shell scripts by hashhar on Tuesday May 04, 2021 @03:11AM (#27034785)
Because the =~ and > and < operators aren't defined for [ in POSIX.

Also ShellCheck suggests similar improvement only when your shebang says that bash is the expected interpreter instead of sh (or other ways of denoting POSIX compat).

There are no comments on this comment yet.