kaf
asked on
Lightweight noninteractive shell
Hi. I have next problem. I must execute a lot of shell
scripts on low memory computer (4Mb). bash is very big for
this task and have unnecessery possibilities (readline, job
control etc). At this time i find only one simple shell
for scripts evaluating - ash. It have 50Kb text body.
I try find source code for bourne shell (not bourne again shell), but failed.
scripts on low memory computer (4Mb). bash is very big for
this task and have unnecessery possibilities (readline, job
control etc). At this time i find only one simple shell
for scripts evaluating - ash. It have 50Kb text body.
I try find source code for bourne shell (not bourne again shell), but failed.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
kiss is good simple shell for resque disks, but it cannot
execute control construction;
for, while, if, etc...
execute control construction;
for, while, if, etc...
I guess that leaves only ash.
You can compile it without any command line editing, yielding a rather small binary. (I don't recall the exact size.)