Jilles Tjoelker 135ff4b5b0 sh: Fix some issues with aliases and case, by importing dash checkkwd code.
This moves the function of the noaliases variable into the checkkwd
variable. This way it is properly reset on errors and aliases can be used
normally in the commands for each case (the case labels recognize the
keyword esac but no aliases).

The new code is clearer as well.

Obtained from:	dash
2010-11-02 23:44:29 +00:00
..
2009-12-24 18:41:14 +00:00
2009-12-24 18:41:14 +00:00
2010-10-31 12:08:16 +00:00
2010-03-06 16:57:53 +00:00
2009-12-24 18:41:14 +00:00
2010-06-02 19:16:58 +00:00
2009-12-24 18:41:14 +00:00
2006-04-16 11:54:01 +00:00
2010-06-02 19:16:58 +00:00