Commit graph

  • 811df6f0da Fixed cabal file Vidar Holen 2014-02-03 20:21:26 -08:00
  • 4e5d32b05a Added --version flag Vidar Holen 2014-02-03 20:06:59 -08:00
  • c5141b77bf Fixed parser not accepting `` in arithmetic contex Vidar Holen 2014-02-03 16:45:48 -08:00
  • 9dfeb6b42a Added -s to the man page Vidar Holen 2014-02-02 21:56:04 -08:00
  • 77916d2645 Fixed compilation error on GHC7 Vidar Holen 2014-02-02 21:47:02 -08:00
  • 4968e7d9ff Added -s flag to override dialect, e.g. -s ksh Vidar Holen 2014-02-02 19:28:09 -08:00
  • 075d58ee90 Replaced parser error for 'function' with shell-aware check. Vidar Holen 2014-02-02 13:39:44 -08:00
  • 6a4a5a815e Don't consider last stage of pipeline a subshell for Ksh/Zsh Vidar Holen 2014-02-02 13:03:26 -08:00
  • 76a39f254b Refactoring, 25% speedup. Vidar Holen 2014-02-02 04:59:17 -08:00
  • 8ec9fa43fd Warn about break/continue in subshells and outside loops Vidar Holen 2014-02-01 23:45:26 -08:00
  • e8634a3c27 Removed duplicate check for [[ a == b + 1 ]] Vidar Holen 2014-02-01 20:45:44 -08:00
  • 9ae776530b Check for [[ i + 1 = 2 ]] Vidar Holen 2014-01-27 22:47:48 -08:00
  • 0ec62390d5 Merge branch 'master' of github.com:koalaman/shellcheck Vidar Holen 2014-01-27 22:13:04 -08:00
  • 82328cd86e Warn about literal "\ " just like literal quotes. Vidar Holen 2014-01-27 22:11:46 -08:00
  • 5b58da7249 Merge pull request #75 from michaelsanford/master koalaman 2014-01-27 12:11:19 -08:00
  • 8676517270 Macports install info thanks to @myint michaelsanford 2014-01-27 14:39:10 -05:00
  • 4262c4b1bf Allow {} in arithmetic for loops Vidar Holen 2014-01-26 12:44:51 -08:00
  • 7ad0110443 Don't warn about sed '$d' or '$p' Vidar Holen 2014-01-25 14:54:05 -08:00
  • e9bba2f75a Don't warn about comma separation in for f in {a,b} Vidar Holen 2014-01-25 14:30:25 -08:00
  • 74ea5eaeec Parse but warn about "else if" Vidar Holen 2014-01-25 14:12:31 -08:00
  • b7ee5f4410 Merge pull request #67 from michaelsanford/master koalaman 2014-01-24 21:15:10 -08:00
  • e294db171e Added Mac OS instructions with brew (relates #11) Michael Sanford 2014-01-22 22:13:55 -05:00
  • 8c3d8d7cfa Stable version 0.3.0 v0.3.0 Vidar Holen 2014-01-19 13:04:17 -08:00
  • 380d6c3317 Cleaned up cabal file to make 'cabal check' pass. Vidar Holen 2014-01-19 13:03:05 -08:00
  • 16bd52333a man page: Added Directives section Vidar Holen 2014-01-19 12:36:48 -08:00
  • cfb44b3fe2 Warn about 'cd $f; foo; cd ..' loop antipattern. Vidar Holen 2014-01-17 09:02:14 -08:00
  • 43ed5e748d Allow '# shellcheck disable=SC1234' to ignore by code. Vidar Holen 2014-01-16 23:08:56 -08:00
  • 4dca88aade Don't warn about quotes in variables for eval Vidar Holen 2014-01-16 19:41:09 -08:00
  • 1d2c7a8551 Warn about abused char classes, such as [10-15] and [:digit:] Vidar Holen 2014-01-14 21:20:21 -08:00
  • ba080e7e34 Merge pull request #61 from cheecheeo/master koalaman 2014-01-14 10:40:27 -08:00
  • fc716738eb expanded cabal file John Chee 2014-01-13 19:14:18 -08:00
  • 659709d529 Fixed ${!var} not counting as reference of var Vidar Holen 2013-12-30 10:00:05 -08:00
  • 5b4729d940 Parser: allow subshell function definitions Vidar Holen 2013-12-30 09:50:14 -08:00
  • b936f28763 Merge branch 'manpage' Vidar Holen 2013-12-15 19:43:02 -08:00
  • 78d9a7ad97 Tweaked man page format Vidar Holen 2013-12-15 19:40:05 -08:00
  • d540a98d33 Merge branch 'man_page' of https://github.com/Dridi/shellcheck into manpage Vidar Holen 2013-12-15 18:44:49 -08:00
  • 8c00850134 Minor performance tweaks (~10% improvement) Vidar Holen 2013-12-15 18:43:34 -08:00
  • 382cfeb1b3 Merge 91fc4a046c into d1990e3396 Dridi Boukelmoune 2013-12-15 18:28:12 -08:00
  • d1990e3396 Warn about 'i=i+1' and 'i=i + 1' Vidar Holen 2013-12-15 16:11:17 -08:00
  • 91fc4a046c Added a shellcheck(1) man page Dridi Boukelmoune 2013-12-16 00:01:09 +01:00
  • 95ebe1cd07 Fixed parser error for '..; done| ..' Vidar Holen 2013-12-15 14:39:47 -08:00
  • 27822a1f56 Warn about 'foo=bar echo $foo' Vidar Holen 2013-12-14 16:06:19 -08:00
  • eb06b06475 Don't warn about single quoted vars for ssh Vidar Holen 2013-12-14 15:28:58 -08:00
  • 5d72432046 If printf string contains %, don't warn about using vars Vidar Holen 2013-12-14 15:27:11 -08:00
  • da51b14789 Parser: accept here doc token strings more liberally Vidar Holen 2013-12-14 15:20:15 -08:00
  • 7be8485b8b Fixed parsing of 'time' in front of compound commands Vidar Holen 2013-12-14 14:44:47 -08:00
  • a4d36ba0d2 Warn about while read f; do ssh "$f"; done Vidar Holen 2013-11-29 23:05:41 -08:00
  • d4bc0f6e10 Don't require separator before do in 'for i do ..' Vidar Holen 2013-11-29 16:22:37 -08:00
  • 1011ae7b3c Fixed incorrect parsing of [ foo -a -f bar ] Vidar Holen 2013-11-24 18:49:49 -08:00
  • d603ee1e89 Don't warn for A&&B||C if C is echo/exit/assignment Vidar Holen 2013-11-24 16:15:10 -08:00
  • 4fc518c877 Cleaned up command matching code Vidar Holen 2013-11-24 15:48:07 -08:00
  • 7fda86d6e2 Fixed warning for 'exec foo; exit 3' Vidar Holen 2013-11-24 14:48:12 -08:00
  • 6905373b6c Fix incorrect warning for 'foo > bar 2> bar' Vidar Holen 2013-11-24 14:20:24 -08:00
  • 1d8401d583 Assume variables have spaces by default Vidar Holen 2013-11-17 16:16:58 -08:00
  • a89aee1a34 Assume variables have spaces/globs by default Vidar Holen 2013-11-17 16:13:45 -08:00
  • 4853dce3fe Fixed wrong quoting warning for foo=" "; foo Vidar Holen 2013-11-17 15:00:07 -08:00
  • a793e09bab Added hint to suggest missing ;; in case Vidar Holen 2013-11-17 14:41:55 -08:00
  • fbd85e93ee Added --exclude to filter out warnings Vidar Holen 2013-11-17 13:41:42 -08:00
  • 77f754fa32 Replace Prelude.catch with Control.Exception.catch Vidar Holen 2013-11-15 17:31:55 -08:00
  • 01d557abe6 More discriminating error codes Vidar Holen 2013-11-14 22:46:09 -08:00
  • 68cc00b6e8 Exit with 1 on comments and 2 on failure Vidar Holen 2013-11-14 22:35:38 -08:00
  • 8b7c0be06f gcc output mode now uses a tab width of 1 Vidar Holen 2013-11-14 22:23:55 -08:00
  • 473bb666d8 Support for checkstyle compatible xml output Vidar Holen 2013-11-13 22:39:35 -08:00
  • 376d407ea1 Added gcc compatible output for editor integrations Vidar Holen 2013-11-13 17:28:08 -08:00
  • 2e13cedc4b Removed jsoncheck. Use 'shellcheck -f json -' instead Vidar Holen 2013-11-12 21:39:41 -08:00
  • 17515ad706 Added proper command line parsing Vidar Holen 2013-11-12 21:22:52 -08:00
  • d8b5d6393a \" should not be treated specially in backticks Vidar Holen 2013-11-12 18:27:18 -08:00
  • d404bc703d Show expose error code in shellcheck frontends Vidar Holen 2013-11-10 12:22:33 -08:00
  • e5e08df1d9 Numbered messages Vidar Holen 2013-11-10 10:55:46 -08:00
  • 1988cba147 Merge pull request #33 from daniellawrence/master koalaman 2013-11-07 10:21:48 -08:00
  • 4cee7fd27f updated debian/ubuntu required packages Daniel Lawrence 2013-11-04 16:00:47 +11:00
  • b75fe02aac Merge branch 'master' of github.com:koalaman/shellcheck Vidar Holen 2013-11-03 13:58:33 -08:00
  • 83c3dd3418 Accept ./? in function names Vidar Holen 2013-11-03 13:58:06 -08:00
  • 020850dbbb Merge pull request #16 from carenas/master koalaman 2013-11-03 13:51:13 -08:00
  • 8d265aa25e Don't warn about expr if using : operator Vidar Holen 2013-11-03 13:47:04 -08:00
  • c343217fd2 Added Fedora prerequisites in README Vidar Holen 2013-11-03 13:27:10 -08:00
  • 71bc26aefa Fixed parsing of | outside of groups in =~ regex Vidar Holen 2013-11-03 13:13:24 -08:00
  • 8a3d259ae6 Don't warn about single quotes in args to perl Vidar Holen 2013-11-03 12:47:44 -08:00
  • 3a9ae0ebf1 Accept dir-/basename due to edge cases like "/" and "foo" Vidar Holen 2013-11-03 12:42:11 -08:00
  • d6b903e6cc gitignore and makefile for building with cabal and make Carlo Marcelo Arenas Belon 2013-10-28 01:35:19 -07:00
  • b9f7f82e29 Stable version 0.2.0 v0.2.0 Vidar Holen 2013-10-27 16:04:33 -07:00
  • 6d0bfcf37a Fixed parser accepting spaces after here doc token Vidar Holen 2013-10-27 16:02:27 -07:00
  • e0bbb89d00 Fixed parser bug where }> wasn't recognized as Rbrace Vidar Holen 2013-10-27 15:36:47 -07:00
  • a0a58d432a Merge branch 'master' of github.com:koalaman/shellcheck Vidar Holen 2013-10-20 15:04:45 -07:00
  • 206900fb64 Use exit status and stderr properly in terminal tool Vidar Holen 2013-10-20 15:03:14 -07:00
  • 794a5523d1 Merge pull request #12 from mcandre/master koalaman 2013-10-20 13:47:15 -07:00
  • 389c7b670c README: clarify build step Andrew Pennebaker 2013-10-20 16:33:00 -04:00
  • b1af7bb8f2 Fixed parser error for 'for ((;;)) ; do' Vidar Holen 2013-10-11 20:03:55 -07:00
  • 157fea73da Suggest ./* instead of * for command arguments Vidar Holen 2013-10-06 15:54:31 -07:00
  • b439f02b8e Improved assignment parsing: track indices and += vs = Vidar Holen 2013-10-06 14:44:43 -07:00
  • 710a28c572 Revert "Fixed parsing for 'eval var=(values)'", because it fails for 'eval $x=foo' Vidar Holen 2013-09-29 21:35:20 -07:00
  • 702d57b655 Warn about unicode quotes Vidar Holen 2013-09-29 21:22:42 -07:00
  • 34e69556b1 Fixed parsing for 'eval var=(values)' Vidar Holen 2013-09-29 21:00:29 -07:00
  • 7c411b39ac Fixed warnings for read -p "Name: " Vidar Holen 2013-09-29 20:55:26 -07:00
  • 5a959bc340 Fix parser errors for unclosed $( in here docs Vidar Holen 2013-09-21 16:27:17 -07:00
  • fb5f72951d Don't warn about unused variables for read '' Vidar Holen 2013-09-12 19:11:42 -07:00
  • 7630136d6c Move command and variable lists to ShellCheck.Data. Vidar Holen 2013-09-12 18:50:33 -07:00
  • dacb8c597f Fixed a series of extglob parsing oddities and edge cases Vidar Holen 2013-09-04 13:02:30 -07:00
  • d99aaaf8dc Merge branch 'master' of github.com:koalaman/shellcheck Vidar Holen 2013-09-03 14:09:50 -07:00
  • 876831b419 Fixed up readme Vidar Holen 2013-09-03 14:08:30 -07:00