summaryrefslogtreecommitdiff
path: root/user/sh.c
AgeCommit message (Collapse)AuthorFilesLines
2024-01-17lab util: finishutilMole Shang1-0/+3
2022-08-10xRobert Morris1-1/+1
2022-08-10have sh print prompt with write, not printf, to makeRobert Morris1-1/+1
system call lecture a little clearer.
2022-08-02Mark runcmd with attribute noreturn, since it doesn't returnFrans Kaashoek1-0/+1
When compiling with gcc version 12, this change also avoids the compiler warning "infinite recursion detected" for runcmd()
2020-08-10make "echo hello > x" truncate file x.Robert Morris1-1/+1
2019-09-11error exit status is 1Robert Morris1-4/+4
2019-09-10Support exit status for exit/waitFrans Kaashoek1-10/+10
One test case for returning a exit status Passes usertests, but haven't used it to simplify tests
2019-08-27user printf(1 -> printf(Robert Morris1-6/+6
2019-06-11separate source into kernel/ user/ mkfs/Robert Morris1-0/+493