Patch from Larry Doolittle (with minor touchups from me so everything compiles
and works) to use the applet definitions in applets.h to autogenerate the applet
function and usage prototypes.
diff --git a/sh.c b/sh.c
index 87d4fbf..eba60b3 100644
--- a/sh.c
+++ b/sh.c
@@ -52,6 +52,7 @@
 #define MAX_LINE	256	/* size of input buffer for `read' builtin */
 #define MAX_READ	128	/* size of input buffer for `read' builtin */
 #define JOB_STATUS_FORMAT "[%d] %-22s %.40s\n"
+extern size_t NUM_APPLETS;
 
 
 enum redirectionType { REDIRECT_INPUT, REDIRECT_OVERWRITE,