Commit Graph

17 Commits

Author SHA1 Message Date
mr.Shu 5e4c288cf4 SC2174: Do not warn at `mkdir -pm 0700 ../foo`
* Do not warn when `mkdir -pm 0700` is used with combination of paths
  like `..` and `.`

* Fixes #854

Signed-off-by: mr.Shu <mr@shu.io>
2017-05-16 11:45:04 -07:00
Vidar Holen 324aa3cc88 Improve and deduplicate string comparison warnings. 2017-04-22 21:09:42 -07:00
Vidar Holen f0e0d9ffdb Don't suggest \[\] in PS1 for non-bash 2017-04-02 14:50:15 -07:00
Vidar Holen 750212af39 Add less common actions to find -o check. 2017-03-03 20:43:00 -08:00
Vidar Holen 128d5d6013 Don't warn about grep pattern issues when using -F. 2017-01-21 16:20:55 -08:00
Vidar Holen 1863f2f12d Warn about += bashism in sh and dash. 2017-01-14 12:40:09 -08:00
Vidar Holen e679ff222a Warn when using deprecated egrep/fgrep. 2016-12-30 16:55:31 -08:00
Austin English af87fe9315 add missing references to dash 2016-12-20 17:10:55 -08:00
Vidar Holen 838f0ce4dc Count "%(%Y%m%d)T" as a single format in printf. 2016-12-17 12:48:09 -08:00
Vidar Holen f6618d4332 Fix BSD style flag parsing to stop at -- 2016-12-11 10:58:01 -08:00
Vidar Holen cf1c46d852 Add deprecation warning for tempfile 2016-12-10 09:58:27 -08:00
Vidar Holen 08f7ff37c5 Some cleanup and refactoring. 2016-11-12 15:51:36 -08:00
Vidar Holen b0dae063bf Add info when using 'find' without path 2016-09-25 11:56:32 -07:00
Vidar Holen 868d53af95 Warn about passing globs to `unset`. 2016-09-24 14:49:52 -07:00
Vidar Holen 87481dce25 Warn about printf hello world and printf "%s %s" foo 2016-09-06 21:16:59 -07:00
Vidar Holen 36263fb3f5 s/range/class/ when warning about tr '[abc]' 2016-07-05 08:51:40 -07:00
Vidar Holen db0c8c2dc9 Separate out command specific checks.
The checks use a better interface and give
an overall speed boost of 10%.
2016-04-10 17:01:40 -07:00