Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison .shellcheckrc @ 749:e8eb5e7ceb37
farray.sh: Implement binary lexicographical search in "farray_binsearch()".
While there disable SC3012 in shellcheck because FreeBSD's /bin/sh supports
lexicographical comparisons in "test".
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 10 Oct 2024 13:27:50 +0200 |
| parents | d016ac770a71 |
| children | 33df05108ba1 |
comparison
equal
deleted
inserted
replaced
| 748:32580e25df78 | 749:e8eb5e7ceb37 |
|---|---|
| 19 disable=SC2004 | 19 disable=SC2004 |
| 20 # Prefer [ p ] && [ q ] as [ p -a q ] is not well-defined | 20 # Prefer [ p ] && [ q ] as [ p -a q ] is not well-defined |
| 21 disable=SC2166 | 21 disable=SC2166 |
| 22 # In POSIX sh, $'..' is undefined | 22 # In POSIX sh, $'..' is undefined |
| 23 disable=SC3003 | 23 disable=SC3003 |
| 24 # In POSIX sh, lexicographical \< is undefined. | |
| 25 disable=SC3012 | |
| 24 # In POSIX sh, local is undefined | 26 # In POSIX sh, local is undefined |
| 25 disable=SC3043 | 27 disable=SC3043 |
| 26 | 28 |
| 27 enable=avoid-nullary-conditions | 29 enable=avoid-nullary-conditions |
