From 98972e54a28006a6ae83fd439dff5b3898fe0a50 Mon Sep 17 00:00:00 2001 From: Remzi Arpaci-Dusseau Date: Mon, 5 Feb 2018 10:55:42 -0600 Subject: [PATCH] removed pwd requirement --- processes-shell/README.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/processes-shell/README.md b/processes-shell/README.md index 6517bc8..529da42 100644 --- a/processes-shell/README.md +++ b/processes-shell/README.md @@ -123,8 +123,8 @@ programs. Instead, your shell will invoke your implementation of the built-in command. For example, to implement the `exit` built-in command, you simply call `exit(0);` in your wish source code, which then will exit the shell. -In this project, you should implement `exit`, `cd`, `pwd`, and `path` as -built-in commands. +In this project, you should implement `exit`, `cd`, and `path` as built-in +commands. * `exit`: When the user types `exit`, your shell should simply call the `exit` system call with 0 as a parameter. It is an error to pass any arguments to @@ -134,9 +134,6 @@ built-in commands. error). To change directories, use the `chdir()` system call with the argument supplied by the user; if `chdir` fails, that is also an error. -* `pwd`: When a user types `pwd`, your shell should call getcwd() and show the -result. It is an error to pass any arguments to `pwd`. - * `path`: The `path` command takes 0 or more arguments, with each argument separated by whitespace from the others. A typical usage would be like this: `wish> path /bin /usr/bin`, which would add `/bin` and `/usr/bin` to the