]> Zhao Yanbai Git Server - minix.git/commit
Importing bin/sh 92/2792/2
authorLionel Sambuc <lionel@minix3.org>
Sun, 3 Aug 2014 21:10:41 +0000 (23:10 +0200)
committerGerrit Code Review <gerrit@localhost>
Fri, 29 Aug 2014 16:56:04 +0000 (12:56 -0400)
commitd90bee97498b3043241050f61aed100786c59df4
tree8778bb55d80822af630637374e93fcbbcb1526d8
parent2d64210c1dbcd340904718f2d4e9e81adeab3c7d
Importing bin/sh

/etc/profile enables by default tabcompletion, as well as emacs mode,
in order to keep the old MINIX ash behavior.

Note: The shell now refuses to source a script without a relative or
      absolute path.
      This means:
        - '. myscript.sh' fails, while
        - '. ./myscript.sh' succeeds

Change-Id: I0be89b0747bd005e4c05cadb937af86883627dc6
117 files changed:
bin/Makefile
bin/sh/Makefile [new file with mode: 0644]
bin/sh/TOUR [moved from minix/commands/ash/TOUR with 97% similarity]
bin/sh/USD.doc/Makefile [new file with mode: 0644]
bin/sh/USD.doc/Rv7man [new file with mode: 0644]
bin/sh/USD.doc/t.mac [new file with mode: 0644]
bin/sh/USD.doc/t1 [new file with mode: 0644]
bin/sh/USD.doc/t2 [new file with mode: 0644]
bin/sh/USD.doc/t3 [new file with mode: 0644]
bin/sh/USD.doc/t4 [new file with mode: 0644]
bin/sh/alias.c [moved from minix/commands/ash/alias.c with 86% similarity]
bin/sh/alias.h [moved from minix/commands/ash/alias.h with 85% similarity]
bin/sh/arith.y [new file with mode: 0644]
bin/sh/arith_lex.l [moved from minix/commands/ash/arith_lex.l with 50% similarity]
bin/sh/bltin/bltin.h [moved from minix/commands/ash/bltin/bltin.h with 60% similarity]
bin/sh/bltin/echo.1 [new file with mode: 0644]
bin/sh/bltin/echo.c [moved from minix/commands/ash/bltin/echo.c with 69% similarity]
bin/sh/builtins.def [moved from minix/commands/ash/builtins.def with 59% similarity]
bin/sh/cd.c [moved from minix/commands/ash/cd.c with 55% similarity]
bin/sh/cd.h [moved from minix/commands/ash/cd.h with 85% similarity]
bin/sh/error.c [new file with mode: 0644]
bin/sh/error.h [moved from minix/commands/ash/error.h with 70% similarity]
bin/sh/eval.c [moved from minix/commands/ash/eval.c with 58% similarity]
bin/sh/eval.h [moved from minix/commands/ash/eval.h with 82% similarity]
bin/sh/exec.c [moved from minix/commands/ash/exec.c with 57% similarity]
bin/sh/exec.h [moved from minix/commands/ash/exec.h with 61% similarity]
bin/sh/expand.c [moved from minix/commands/ash/expand.c with 77% similarity]
bin/sh/expand.h [moved from minix/commands/ash/expand.h with 87% similarity]
bin/sh/funcs/cmv [moved from minix/commands/ash/funcs/cmv with 86% similarity, mode: 0644]
bin/sh/funcs/dirs [moved from minix/commands/ash/funcs/dirs with 88% similarity, mode: 0644]
bin/sh/funcs/kill [moved from minix/commands/ash/funcs/kill with 86% similarity, mode: 0644]
bin/sh/funcs/login [moved from minix/commands/ash/funcs/login with 85% similarity, mode: 0644]
bin/sh/funcs/newgrp [moved from minix/commands/ash/funcs/newgrp with 85% similarity, mode: 0644]
bin/sh/funcs/popd [moved from minix/commands/ash/funcs/popd with 88% similarity, mode: 0644]
bin/sh/funcs/pushd [moved from minix/commands/ash/funcs/pushd with 88% similarity, mode: 0644]
bin/sh/funcs/suspend [moved from minix/commands/ash/funcs/suspend with 85% similarity, mode: 0644]
bin/sh/histedit.c [moved from minix/commands/ash/histedit.c with 76% similarity]
bin/sh/init.h [moved from minix/commands/ash/init.h with 89% similarity]
bin/sh/input.c [moved from minix/commands/ash/input.c with 80% similarity]
bin/sh/input.h [moved from minix/commands/ash/input.h with 90% similarity]
bin/sh/jobs.c [new file with mode: 0644]
bin/sh/jobs.h [moved from minix/commands/ash/jobs.h with 62% similarity]
bin/sh/machdep.h [moved from minix/commands/ash/machdep.h with 78% similarity]
bin/sh/mail.c [moved from minix/commands/ash/mail.c with 89% similarity]
bin/sh/mail.h [moved from minix/commands/ash/mail.h with 89% similarity]
bin/sh/main.c [moved from minix/commands/ash/main.c with 72% similarity]
bin/sh/main.h [moved from minix/commands/ash/main.h with 87% similarity]
bin/sh/memalloc.c [moved from minix/commands/ash/memalloc.c with 74% similarity]
bin/sh/memalloc.h [moved from minix/commands/ash/memalloc.h with 91% similarity]
bin/sh/miscbltin.c [moved from minix/commands/ash/miscbltin.c with 57% similarity]
bin/sh/miscbltin.h [new file with mode: 0644]
bin/sh/mkbuiltins [moved from minix/commands/ash/mkbuiltins.sh with 57% similarity, mode: 0644]
bin/sh/mkinit.sh [new file with mode: 0755]
bin/sh/mknodes.sh [new file with mode: 0755]
bin/sh/mktokens [moved from minix/commands/ash/mktokens.sh with 75% similarity, mode: 0644]
bin/sh/myhistedit.h [moved from minix/commands/ash/myhistedit.h with 84% similarity]
bin/sh/mystring.c [moved from minix/commands/ash/mystring.c with 90% similarity]
bin/sh/mystring.h [moved from minix/commands/ash/mystring.h with 90% similarity]
bin/sh/nodes.c.pat [moved from minix/commands/ash/nodes.c.pat with 80% similarity]
bin/sh/nodetypes [moved from minix/commands/ash/nodetypes with 94% similarity]
bin/sh/options.c [moved from minix/commands/ash/options.c with 80% similarity]
bin/sh/options.h [moved from minix/commands/ash/options.h with 56% similarity]
bin/sh/output.c [moved from minix/commands/ash/output.c with 76% similarity]
bin/sh/output.h [moved from minix/commands/ash/output.h with 82% similarity]
bin/sh/parser.c [moved from minix/commands/ash/parser.c with 77% similarity]
bin/sh/parser.h [moved from minix/commands/ash/parser.h with 78% similarity]
bin/sh/redir.c [moved from minix/commands/ash/redir.c with 71% similarity]
bin/sh/redir.h [moved from minix/commands/ash/redir.h with 88% similarity]
bin/sh/sh.1 [new file with mode: 0644]
bin/sh/shell.h [moved from minix/commands/ash/shell.h with 66% similarity]
bin/sh/show.c [moved from minix/commands/ash/show.c with 83% similarity]
bin/sh/show.h [moved from minix/commands/ash/show.h with 84% similarity]
bin/sh/syntax.c [new file with mode: 0644]
bin/sh/syntax.h [new file with mode: 0644]
bin/sh/trap.c [new file with mode: 0644]
bin/sh/trap.h [moved from minix/commands/ash/trap.h with 80% similarity]
bin/sh/var.c [moved from minix/commands/ash/var.c with 60% similarity]
bin/sh/var.h [moved from minix/commands/ash/var.h with 75% similarity]
distrib/sets/lists/minix/mi
etc/mtree/NetBSD.dist.base
etc/profile
minix/commands/Makefile
minix/commands/ash/Makefile [deleted file]
minix/commands/ash/arith.y [deleted file]
minix/commands/ash/arith_lex.h [deleted file]
minix/commands/ash/bltin/LICENSE [deleted file]
minix/commands/ash/bltin/Makefile.inc [deleted file]
minix/commands/ash/bltin/binary_op [deleted file]
minix/commands/ash/bltin/catf.c [deleted file]
minix/commands/ash/bltin/error.c [deleted file]
minix/commands/ash/bltin/expr.c [deleted file]
minix/commands/ash/bltin/line.c [deleted file]
minix/commands/ash/bltin/makefile.not [deleted file]
minix/commands/ash/bltin/mkexpr.sh [deleted file]
minix/commands/ash/bltin/myregexp.h [deleted file]
minix/commands/ash/bltin/nlecho.c [deleted file]
minix/commands/ash/bltin/regexp.c [deleted file]
minix/commands/ash/bltin/stalloc.c [deleted file]
minix/commands/ash/bltin/umask.c [deleted file]
minix/commands/ash/bltin/unary_op [deleted file]
minix/commands/ash/builtins [deleted file]
minix/commands/ash/complete.c [deleted file]
minix/commands/ash/complete.h [deleted file]
minix/commands/ash/errmsg.c [deleted file]
minix/commands/ash/errmsg.h [deleted file]
minix/commands/ash/error.c [deleted file]
minix/commands/ash/jobs.c [deleted file]
minix/commands/ash/mkinit.c [deleted file]
minix/commands/ash/mknodes.c [deleted file]
minix/commands/ash/mksignames.c [deleted file]
minix/commands/ash/mksyntax.c [deleted file]
minix/commands/ash/setmode.c [deleted file]
minix/commands/ash/trap.c [deleted file]
minix/drivers/storage/ramdisk/Makefile
minix/man/man1/Makefile
minix/man/man1/ash.1 [deleted file]
minix/tests/testvnd.sh