[klibc 26/31] dash - a small POSIX shell for klibc

H. Peter Anvin
2006-06-28T05:27:23Z

[klibc] dash - a small POSIX shell for klibc

A port of dash, a size-optimized version of ash by Herbert Xu, for
klibc.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>

---
commit a359e7a5083122cf32f9b4dabd63af25a60646d9
tree a8684b9b4068c50296ee594e1c75ac0a4f6fcbf9
parent 99753ec67ac082f5f4fdb07e7b985bba84cf4b4c
author H. Peter Anvin <hpa@zytor.com> Tue, 27 Jun 2006 20:51:11 -0700
committer H. Peter Anvin <hpa@zytor.com> Tue, 27 Jun 2006 20:51:11 -0700

usr/Kbuild | 2
usr/dash/Kbuild | 146 +++
usr/dash/README.klibc | 7
usr/dash/TOUR | 356 +++++++
usr/dash/alias.c | 227 ++++
usr/dash/alias.h | 52 +
usr/dash/arith.y | 155 +++
usr/dash/arith_yylex.c | 163 +++
usr/dash/bltin/bltin.h | 89 ++
usr/dash/bltin/echo.1 | 109 ++
usr/dash/bltin/printf.1 | 354 +++++++
usr/dash/bltin/printf.c | 476 +++++++++
usr/dash/bltin/test.1 | 309 ++++++
usr/dash/bltin/test.c | 500 ++++++++++
usr/dash/builtins.def.in | 92 ++
usr/dash/cd.c | 303 ++++++
usr/dash/cd.h | 35 +
usr/dash/config.h | 85 ++
usr/dash/error.c | 233 +++++
usr/dash/error.h | 145 +++
usr/dash/eval.c | 1100 ++++++++++++++++++++++
usr/dash/eval.h | 62 +
usr/dash/exec.c | 869 +++++++++++++++++
usr/dash/exec.h | 77 ++
usr/dash/expand.c | 1744 ++++++++++++++++++++++++++++++++++
usr/dash/expand.h | 83 ++
usr/dash/funcs/cmv | 47 +
usr/dash/funcs/dirs | 71 +
usr/dash/funcs/kill | 47 +
usr/dash/funcs/login | 36 +
usr/dash/funcs/newgrp | 35 +
usr/dash/funcs/popd | 71 +
usr/dash/funcs/pushd | 71 +
usr/dash/funcs/suspend | 39 +
usr/dash/gendeps.pl | 38 +
usr/dash/hetio.c | 397 ++++++++
usr/dash/hetio.h | 22
usr/dash/histedit.c | 492 ++++++++++
usr/dash/init.h | 39 +
usr/dash/input.c | 563 +++++++++++
usr/dash/input.h | 68 +
usr/dash/jobs.c | 1499 ++++++++++++++++++++++++++++++
usr/dash/jobs.h | 109 ++
usr/dash/machdep.h | 53 +
usr/dash/mail.c | 112 ++
usr/dash/mail.h | 38 +
usr/dash/main.c | 349 +++++++
usr/dash/main.h | 54 +
usr/dash/memalloc.c | 329 ++++++
usr/dash/memalloc.h | 97 ++
usr/dash/miscbltin.c | 457 +++++++++
usr/dash/miscbltin.h | 31 +
usr/dash/mkbuiltins | 101 ++
usr/dash/mkinit.c | 476 +++++++++
usr/dash/mknodes.c | 448 +++++++++
usr/dash/mksyntax.c | 315 ++++++
usr/dash/mktokens | 92 ++
usr/dash/myhistedit.h | 45 +
usr/dash/mystring.c | 209 ++++
usr/dash/mystring.h | 58 +
usr/dash/nodes.c.pat | 166 +++
usr/dash/nodetypes | 144 +++
usr/dash/options.c | 547 +++++++++++
usr/dash/options.h | 86 ++
usr/dash/output.c | 385 ++++++++
usr/dash/output.h | 112 ++
usr/dash/parser.c | 1556 +++++++++++++++++++++++++++++++
usr/dash/parser.h | 96 ++
usr/dash/redir.c | 475 +++++++++
usr/dash/redir.h | 49 +
usr/dash/sh.1 | 2332 ++++++++++++++++++++++++++++++++++++++++++++++
usr/dash/shell.h | 94 ++
usr/dash/show.c | 403 ++++++++
usr/dash/show.h | 45 +
usr/dash/system.c | 191 ++++
usr/dash/system.h | 91 ++
usr/dash/trap.c | 443 +++++++++
usr/dash/trap.h | 52 +
usr/dash/var.c | 676 +++++++++++++
usr/dash/var.h | 146 +++
80 files changed, 22769 insertions(+), 1 deletions(-)

Patch suppressed due to size (577 K), available at: