Skip to content

Commit bfe5419

Browse files
readme updated
1 parent cc39b64 commit bfe5419

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

P1/readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# P1 Build your own Bash-like Shell
22

3-
This exercise develops a Bash-like shell with support for chaining process via pipes. Shell also includes input-output redirections, foreground and background prcoesses and inlcudes some new functionalities like double piping(||), triple piping (|||) and shortcut mode(sc).
3+
This exercise develops a Bash-like shell with support for chaining process via pipes. Shell also includes input-output redirections, foreground and background prcoesses and also some new functionalities like double piping(||), triple piping (|||) and shortcut mode(sc).
44

55
# Design
66

77
## Shell
88

99
The main shell process is a prompting process which shows the prompt and asks for user input.
1010

11-
On succesfully receiving the command, it passes the command to a newly created process which then parses it. This child process is made the leader of a newlhy created process group and all the child processes related to this command will be in this process group. The shell process checks if the command has a & at the end, if it is not present the terminal control is given to this process group (foreground process).
11+
On succesfully receiving the command, it passes the command to a newly created process which then parses it. This child process is made the leader of a newly created process group and all the child processes related to this command will be in this process group. The shell process checks if the command has a & at the end, if it is not present the terminal control is given to this process group (foreground process).
1212

1313
The child process then parses the command and handle all input and output redirections and maintains a structure for it.
1414

0 commit comments

Comments
 (0)