Commit graph

  • 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