Jilles Tjoelker
92371efca2
sh: Fix two bugs with case and exit status:
...
* If no pattern is matched, POSIX says the exit status shall be 0 (even if
there are command substitutions).
* If a pattern is matched and there are no command substitutions, the first
command should see the $? from before the case command, not always 0.
2012-01-15 20:04:05 +00:00
..
2011-06-13 21:03:27 +00:00
2010-11-13 22:20:46 +00:00
2011-06-13 21:03:27 +00:00
2011-06-13 21:03:27 +00:00
2011-11-08 23:54:39 +00:00
2011-02-08 23:18:06 +00:00
2011-03-07 07:31:15 +00:00
2011-06-13 21:03:27 +00:00
2011-05-27 20:53:07 +00:00
2012-01-13 23:32:27 +00:00
2011-06-13 21:03:27 +00:00
2010-12-21 20:47:06 +00:00
2011-04-23 22:28:56 +00:00
2012-01-15 20:04:05 +00:00
2011-06-13 21:03:27 +00:00
2012-01-01 22:17:12 +00:00
2012-01-01 22:17:12 +00:00
2012-01-01 22:17:12 +00:00
2012-01-01 22:17:12 +00:00
2012-01-01 22:17:12 +00:00
2011-02-04 22:47:55 +00:00
2012-01-14 22:46:18 +00:00
2012-01-01 22:17:12 +00:00
2011-06-13 21:03:27 +00:00
2011-06-13 21:03:27 +00:00
2010-10-13 04:01:01 +00:00
2012-01-01 22:17:12 +00:00
2012-01-01 22:17:12 +00:00
2011-02-08 23:18:06 +00:00
2011-01-09 22:47:58 +00:00
2011-01-09 22:47:58 +00:00
2011-05-15 22:09:27 +00:00
2011-06-13 21:03:27 +00:00
2011-06-24 07:29:04 +00:00
2011-12-28 23:51:17 +00:00
2011-06-17 13:03:49 +00:00
2012-01-01 22:17:12 +00:00
2012-01-01 22:15:38 +00:00
2012-01-01 22:15:38 +00:00
2010-10-13 22:18:03 +00:00
2011-06-18 23:58:59 +00:00
2011-11-20 21:48:50 +00:00
2011-06-18 23:43:28 +00:00
2010-12-11 17:47:27 +00:00
2010-11-20 14:14:52 +00:00
2011-06-18 23:58:59 +00:00
2011-06-09 23:12:23 +00:00
2011-02-04 22:47:55 +00:00
2011-11-05 21:56:45 +00:00
2011-02-12 23:44:05 +00:00
2010-10-13 22:18:03 +00:00
2011-05-27 16:00:37 +00:00
2012-01-14 21:54:12 +00:00
2011-06-13 21:03:27 +00:00
2011-06-17 10:21:24 +00:00
2011-06-13 21:03:27 +00:00