Commit Graph

  • 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
  • 24580609b8 Merge branch 'master' of https://github.com/carenas/shellcheck into carenas-master Vidar Holen 2013-09-03 14:06:38 -07:00
  • 5828abe324 Merge pull request #7 from carenas/master koalaman 2013-09-03 14:04:49 -07:00
  • c229d3929a build: update recommended Ubuntu package list Carlo Marcelo Arenas Belon 2013-09-01 21:46:32 -07:00
  • 31907ca51d build: include all binaries for clean Carlo Marcelo Arenas Belon 2013-09-01 21:37:30 -07:00
  • 58b8e0ab70 Suggest pgrep when grepping ps Vidar Holen 2013-08-31 18:32:07 -07:00
  • 9586a46c9c Warn about assigned but unreferenced variables Vidar Holen 2013-08-31 18:26:20 -07:00
  • bb49cf8e65 Parse the contents of unquoted here documents Vidar Holen 2013-08-31 17:03:15 -07:00
  • de1fa61560 Warn about client side expansion in ssh strings/heredocs. Vidar Holen 2013-08-03 21:19:32 -07:00
  • 07b1fd6f44 Allow :+- in function names. :(){ :|:;};:, anyone? Vidar Holen 2013-08-03 20:22:32 -07:00
  • d0caa1e1df Don't warn for 'find .. | xargs -0' or 'ls -N | ..' Vidar Holen 2013-07-25 19:58:53 -07:00
  • 4f7926cf26 Stable version 0.1.0. v0.1.0 Vidar Holen 2013-07-24 00:23:23 -07:00
  • 62566ee016 Clarified warning for expr Vidar Holen 2013-07-24 00:17:31 -07:00
  • c1731bd72c Don't warn about redirecting sudo to /dev/null Vidar Holen 2013-07-23 23:46:40 -07:00
  • 4d9f8ebb39 Allow lack of spaces/separators in for((;;))do .. Vidar Holen 2013-07-23 23:30:48 -07:00
  • 6aab109afb Fixed up some warning messages. Vidar Holen 2013-07-23 23:13:28 -07:00
  • 8c5f0a062e Warn about suspicious quotes in "foo "$var" bar" Vidar Holen 2013-07-23 22:48:35 -07:00
  • 5ba382d79b Fixed parsing of IFS= read as single assignment Vidar Holen 2013-07-23 22:12:13 -07:00
  • d28f1fff56 Tried to make [ foo=bar ] messages simpler Vidar Holen 2013-07-23 21:53:01 -07:00
  • 1784972af7 Don't warn about echo "--------" is posix mode Vidar Holen 2013-07-23 21:40:55 -07:00
  • 6974497f45 Don't warn for \. (regex) and \, (printf "%q" output) Vidar Holen 2013-07-23 21:35:00 -07:00
  • b147419717 Don't warn for $ on $(( ${array[refs]} )) Vidar Holen 2013-07-23 21:29:19 -07:00
  • d6dab3bd05 Don't warn about IFS= read .. Vidar Holen 2013-07-23 21:23:33 -07:00
  • cd1368b434 Added $PWD as a variable likely to contain spaces Vidar Holen 2013-07-23 21:03:43 -07:00
  • f348661e7e Generalized for f in $(ls) warning, due to many edge cases. Vidar Holen 2013-07-23 20:54:04 -07:00
  • 9393e4405b Fixed accidental warning for $".." Vidar Holen 2013-07-11 09:32:13 -07:00
  • e84d5abc3e Support for recursive regex groups Vidar Holen 2013-07-10 23:47:25 -07:00
  • 0a2314cdcd Also allow array syntax for args to readonly. Vidar Holen 2013-07-10 23:15:08 -07:00
  • 3e39411b38 Don't suggest ${foo//bar/baz} for #!/bin/sh Vidar Holen 2013-07-10 23:14:10 -07:00
  • 2214889a36 Improved messages for missing spaces in [..] Vidar Holen 2013-07-10 23:03:42 -07:00
  • 5a3493740e Warn for [ \( foo = bar\) ] Vidar Holen 2013-07-10 18:05:51 -07:00
  • e6f2ee1f88 Don't try to parse $'..' in "" Vidar Holen 2013-07-10 17:41:38 -07:00
  • 3832ca9d5c Simplified PS1 checks. Vidar Holen 2013-07-09 23:43:27 -07:00
  • 636c6a9336 Parser support for export a=(b c). Also declare/local/typeset. Vidar Holen 2013-07-09 23:32:13 -07:00
  • 6b9cad55a5 Better unquoted message, seeing as how it's so common. Vidar Holen 2013-07-09 22:18:22 -07:00
  • 4780da31c2 Added bashism warning for &> Vidar Holen 2013-07-09 22:11:17 -07:00
  • d04262c70f Fixed broken recursive backtick expansion. Vidar Holen 2013-07-09 21:53:15 -07:00
  • 8055b6f9c5 Fixed warning for trap '$VAR' Vidar Holen 2013-07-09 09:26:48 -07:00
  • c3211e559d Added check for for f in $(find ..) similar to $(ls) Vidar Holen 2013-07-08 21:09:27 -07:00
  • 3d47609e78 Warn for [ $foo = *glob* ] Vidar Holen 2013-07-08 20:45:15 -07:00
  • 52f2f71b40 Added missing id/recursing defintions for DollarBracket Vidar Holen 2013-07-08 09:51:57 -07:00
  • 599beff5b1 Moved shebang verification to parser Vidar Holen 2013-07-08 09:39:54 -07:00
  • a08e60cd07 Don't try to parse scripts declared as perl, ruby or python Vidar Holen 2013-07-07 13:22:29 -07:00
  • 2500b2cce6 Fixed parser warning for \{foo,bar\} Vidar Holen 2013-07-06 15:36:06 -07:00
  • 56e0119db1 Fixed some incorrect warnings for PS1 escapes. Vidar Holen 2013-07-05 19:12:13 -07:00
  • 76c5af2973 Parser support for $[..], plus deprecation warning. Vidar Holen 2013-07-05 09:42:08 -07:00
  • fc4a6043d7 Reformatted ugly AST definition Vidar Holen 2013-07-05 09:24:22 -07:00
  • a20a3499ed Improved bad indirection detection Vidar Holen 2013-07-05 09:15:08 -07:00
  • 73c6202842 Fixed misplaced uuoc for 'cat foo' outside pipe. Vidar Holen 2013-07-04 14:27:03 -07:00
  • 10b5e44ad0 Improved help for missing here doc terminator. Vidar Holen 2013-07-04 14:19:54 -07:00
  • 66cebe7c7b Don't warn about quoting when $var is the command name. Vidar Holen 2013-07-04 13:49:00 -07:00
  • af4d24c6f6 Check for 'echo "\n"'. Vidar Holen 2013-07-04 13:42:31 -07:00
  • fc3045232f Don't warn about f=/dev/null in 'foo $f > $f' Vidar Holen 2013-07-04 13:18:46 -07:00
  • dbd4ff109c Mention second level structure being parsed when error. Vidar Holen 2013-07-04 13:07:27 -07:00
  • d2c5802a9d Fixed UUOC warning for 'cat * | ..'. Vidar Holen 2013-07-04 12:26:59 -07:00
  • ab20747ef2 Removed warning for ~ in the middle of strings. Too common. Vidar Holen 2013-07-04 12:01:34 -07:00
  • 9e84ff66f7 Warn about $() but not quotes in 'if $(cmd); ..' Vidar Holen 2013-07-04 11:44:36 -07:00
  • b060370b92 Added and improved parse warnings for missing spaces. Vidar Holen 2013-07-03 16:37:58 -07:00
  • f557ac3324 Added check for 'exec foo; cmd' Vidar Holen 2013-07-02 22:37:33 -07:00
  • 5d46c8a53f Added check for functions used with sudo/xargs/etc Vidar Holen 2013-07-02 21:35:17 -07:00
  • 99be2736a1 Doubled speed by applying all checks in one iteration. Vidar Holen 2013-07-02 20:29:07 -07:00
  • 6aafc86a67 Added check for './ file'. Apparently people do that. Vidar Holen 2013-07-02 20:09:01 -07:00
  • 9cfa25cb56 Added check for ~ in quotes Vidar Holen 2013-07-02 19:52:09 -07:00
  • 499f7c8733 Warn for possible bad quote nesting like 'echo 'foo'' Vidar Holen 2013-07-01 10:01:58 -07:00
  • 651bab73de Fixed crash for ''foo due to unsafe 'last' Vidar Holen 2013-07-01 09:14:33 -07:00
  • 652f8a24fa Added most checks from 'checkbashisms'. Thanks to Braakman, Rodin and Gilbey! Vidar Holen 2013-06-30 12:13:18 -07:00
  • f820298b6e Added recursive parsing support for .. Vidar Holen 2013-06-26 21:04:39 -07:00
  • 25ee7e20f4 Added awkward check for PS1 escapes outside \[..\] Vidar Holen 2013-06-25 20:59:54 -07:00
  • 438c4ec572 Fixed up warnings for \r, and added warnings for   Vidar Holen 2013-06-21 01:22:11 -07:00
  • 5794f3d390 Fixed parsing of "test$" Vidar Holen 2013-06-21 00:33:20 -07:00
  • 092073d0b3 Fixed parsing for case foo \n in .. Vidar Holen 2013-06-20 23:57:08 -07:00
  • 51cd951baa Added warnings for sudo cmd > file Vidar Holen 2013-06-18 20:08:56 -07:00