Commit Graph

  • 21262399cc Added a check for spurious }s Vidar Holen 2012-11-25 00:42:59 -08:00
  • d58bd400ea Added check for echo $foo | wc -c Vidar Holen 2012-11-25 00:07:53 -08:00
  • aaf5ac6f8f Added check for echo $a | sed s/foo/bar/g Vidar Holen 2012-11-24 20:38:37 -08:00
  • aae87fc030 Added better space/glob checks Vidar Holen 2012-11-24 14:41:17 -08:00
  • 0d34f2dedd Added ulimit to test script because lol debugging Vidar Holen 2012-11-19 23:24:24 -08:00
  • 807ecbd038 Added extglob support that actually works Vidar Holen 2012-11-19 23:20:01 -08:00
  • 5100bc0989 Added check for [[ a != foo || a != bar ]], and same for (( )) Vidar Holen 2012-11-19 22:54:55 -08:00
  • 3f3ca2789b Moved Eq Token instance to AST where it belongs Vidar Holen 2012-11-19 22:32:55 -08:00
  • 0e4f8a763f Added extglob support Vidar Holen 2012-11-19 22:27:44 -08:00
  • 6977963124 Added checks for multiple pipe combinations. Vidar Holen 2012-11-19 21:52:26 -08:00
  • 7e3712f853 Added the regex lib as a dependency Vidar Holen 2012-11-17 12:09:34 -08:00
  • 2fb011aa9b Typo Vidar Holen 2012-11-17 11:48:16 -08:00
  • 090b94161d Fixed incorrect warning for foo=$3 Vidar Holen 2012-11-17 10:53:39 -08:00
  • ecccc7a6b7 Added some more punctuation to messages. Vidar Holen 2012-11-17 10:21:34 -08:00
  • 0141bd812b Give it some attitude Vidar Holen 2012-11-16 23:04:40 -08:00
  • 9eac0bfab9 Homogenized punctuation across messages. Vidar Holen 2012-11-16 22:20:35 -08:00
  • 45d5896cf8 More helpful errors for partial if statements Vidar Holen 2012-11-16 21:30:52 -08:00
  • 89b0168254 Fixed incorrect errors on [[ $1 ]] Vidar Holen 2012-11-16 21:01:26 -08:00
  • 19a7698785 Accidentally made quackCheck non-executable Vidar Holen 2012-11-16 20:40:17 -08:00
  • 07b29dceb4 Never mind quackCheck Vidar Holen 2012-11-16 19:43:41 -08:00
  • 258a13721e Added readme and licenses Vidar Holen 2012-11-16 19:43:05 -08:00
  • a7a19fa366 Support a+=foo Vidar Holen 2012-11-16 18:53:54 -08:00
  • 851de930c0 Removed bash, true and false from [ command ] check, since these could be values Vidar Holen 2012-11-16 11:15:26 -08:00
  • a172c8a8b9 Fixed $(( ! n )) and incorrect warning on $(($?)) Vidar Holen 2012-11-16 11:07:10 -08:00
  • 900c6d01d4 Cleaned up analytics notes Vidar Holen 2012-11-16 10:22:04 -08:00
  • 2581be14e4 Moved AST into its own file Vidar Holen 2012-11-16 10:12:51 -08:00
  • 5faf8e7141 Added check for printf "$var" Vidar Holen 2012-11-16 09:53:35 -08:00
  • 686c895858 Added check for [[ foo == $bar ]] Vidar Holen 2012-11-15 23:43:57 -08:00
  • a2cc44a04d Added check for $(($n)) Vidar Holen 2012-11-15 23:32:45 -08:00
  • ad9db04856 Fixed incorrect n=1 & n=foo$n and same for $((n++)) Vidar Holen 2012-11-15 23:23:08 -08:00
  • 5d26f627cf Rewrote the horrible analyze code Vidar Holen 2012-11-15 22:19:06 -08:00
  • 61baf730e0 Added support for parsing arithmetic context Vidar Holen 2012-11-15 21:38:36 -08:00
  • 38c5c6f847 Added warning for {1..$N} Vidar Holen 2012-11-08 21:55:24 -08:00
  • 7dbae12c7e Fixed bugs related to groupings in conditions Vidar Holen 2012-11-08 21:48:32 -08:00
  • 33913366b1 Fixed bug in allModifiedVariables Vidar Holen 2012-11-08 21:08:20 -08:00
  • f9f2982c9f Added check for [ a==b ] Vidar Holen 2012-11-08 20:43:51 -08:00
  • 947ae519a2 Fixed [ grep foo bar ] warning not working Vidar Holen 2012-11-08 20:28:06 -08:00
  • 97e886e6dd Added more [[]]-related checks Vidar Holen 2012-11-08 20:19:34 -08:00
  • 977cf427ca Added parser for [[]]/[] with associated errors Vidar Holen 2012-11-08 14:39:14 -08:00
  • 99e765ff34 Minor text modifications Vidar Holen 2012-11-07 18:27:12 -08:00
  • de31835676 Added reason in messages about subshells Vidar Holen 2012-11-07 16:36:18 -08:00
  • 7e3a20c14a Added a json interface Vidar Holen 2012-11-06 21:55:46 -08:00
  • 9ca7d57780 Renamed much of the ShellCheck.Simple interface Vidar Holen 2012-11-06 13:26:25 -08:00
  • e264f64266 Renamed from codename Shpell to final name ShellCheck. Vidar Holen 2012-11-06 11:31:53 -08:00
  • 45b98f408c Ditched the stunted concept and added better warnings Vidar Holen 2012-11-05 20:50:00 -08:00
  • a25cc75afa Check for attempted expansion in single quoted variables Vidar Holen 2012-11-05 20:03:14 -08:00
  • 0c0b386cf3 Warnings for unquoted positional parameters Vidar Holen 2012-11-05 19:00:40 -08:00
  • ce46defec8 Merged DollarVariable and DollarBraced, and made the $* test more general Vidar Holen 2012-11-05 18:45:23 -08:00
  • 90c1b63790 Added read/export as variable modifying commands for subshells Vidar Holen 2012-11-05 18:33:45 -08:00
  • e251e4a04f Made Makefile marginally less sucky Vidar Holen 2012-11-05 17:37:48 -08:00
  • c3f62aaad6 Revert ""modified" -> "set" for subshell var messages" Vidar Holen 2012-11-05 10:30:36 -08:00
  • da8ab3322c Added subshell variable detection cases Vidar Holen 2012-11-05 10:29:39 -08:00
  • d2b258434d "modified" -> "set" for subshell var messages Vidar Holen 2012-11-05 10:29:06 -08:00
  • 0fda08b36e Fixed missing Alive detection in current scope Vidar Holen 2012-11-05 10:24:52 -08:00
  • a14d0a8790 Basic subshell detection in place Vidar Holen 2012-11-05 09:26:27 -08:00
  • 5fef47a8d4 Added support for stack based analysis Vidar Holen 2012-11-05 08:10:16 -08:00
  • fb8e843717 Fixed position of &; message Vidar Holen 2012-11-05 01:46:01 -08:00
  • 1bf382e370 Less sentience Vidar Holen 2012-11-05 01:42:36 -08:00
  • ae175bbdf4 Show 'eof' instead of blank string in unexpected token messages Vidar Holen 2012-11-05 01:39:37 -08:00
  • 9140544176 I'm tired of seeing this garbage in the changelog Vidar Holen 2012-11-05 01:34:06 -08:00
  • 5de7a39f3e Added error for 2>&1 > lol Vidar Holen 2012-11-05 01:32:36 -08:00
  • af1517146e Upgraded for f in $(ls ..) to Error. I mean, come on. Vidar Holen 2012-11-05 01:09:43 -08:00
  • 7bc732b2a2 Added and fixed checkes related to "$@"/$* Vidar Holen 2012-11-05 01:08:00 -08:00
  • 98f5c48d47 Made lonely dollar not match $'..' Vidar Holen 2012-11-05 00:25:58 -08:00
  • 3f630d3faa Fixed irrelevant mixup in irrelevant command to make my joke better Vidar Holen 2012-11-04 22:17:17 -08:00
  • fdd2110437 Build shpell before running tests, in case of compiler errors Vidar Holen 2012-11-04 22:15:06 -08:00
  • 69183f6609 Added warning for a && b || c Vidar Holen 2012-11-04 22:14:47 -08:00
  • 67d27ea42d Tweaked some messages and added more badcases Vidar Holen 2012-11-04 21:44:48 -08:00
  • 279e972b61 For * in ls case now uses $(..) Vidar Holen 2012-11-04 20:31:38 -08:00
  • c6a05179e0 Added Makefile and horrifying test framework Vidar Holen 2012-11-04 20:29:21 -08:00
  • 4557f4acd3 Made tool seem less sentient Vidar Holen 2012-11-04 19:42:53 -08:00
  • e6edffa8d1 Fixed off by one preventing printing of last line Vidar Holen 2012-11-04 19:42:32 -08:00
  • a92598c372 Fixed up the wannabe unit tests Vidar Holen 2012-11-04 19:36:38 -08:00
  • 22ae83e372 Gave Parsec errors proper positioning info Vidar Holen 2012-11-04 18:58:34 -08:00
  • d5587dd104 Fixed the position of the 'then;' errors Vidar Holen 2012-11-04 18:18:10 -08:00
  • a7afa32075 Added some test cases, not all of which are supported yet Vidar Holen 2012-11-04 18:10:51 -08:00
  • cde1e2966f Minor reformatting Vidar Holen 2012-11-04 18:07:46 -08:00
  • 2f5a7be421 Added cute simplified API plus a CLI frontend Vidar Holen 2012-11-04 18:02:51 -08:00
  • 17633aa2a8 Moved analytics out of the ParsecT monad and into its own module Vidar Holen 2012-11-04 16:20:11 -08:00
  • 71a571b083 Moar errors Vidar Holen 2012-11-04 00:32:54 -07:00
  • 9bc0d57b14 Added warning for &; Vidar Holen 2012-11-04 00:19:13 -07:00
  • bc810e9eab Added check for using a file in the same pipeline as a redirect Vidar Holen 2012-11-03 21:48:52 -07:00
  • 54de7e7e1c Added warnings for then;, else; Vidar Holen 2012-11-03 16:27:17 -07:00
  • 041581b05f Rewrote the whole Annotation thing. Added quickCheck tests. Vidar Holen 2012-11-03 16:11:12 -07:00
  • dabc445202 Initial version stable latest Vidar Holen 2012-11-03 09:32:09 -07:00