-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathman_1_simple_shell
More file actions
22 lines (21 loc) · 945 Bytes
/
man_1_simple_shell
File metadata and controls
22 lines (21 loc) · 945 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.TH man 1 "20 November 2017" "0.32" "simple_shell"
.SH NAME
.B ./hsh
- a simple UNIX command line interpreter.
.SH SYNOPSIS
.B ./hsh
.I $[COMMAND FILE [ARGUMENT...]]
.SH DESCRIPTION
Displays a prompt and waits for the user to type a command. Command line always ends with a new line. The prompt is displayed again each time a command has been executed.The command lines are simple, no semi-columns, no pipes, no redirections or any other advanced features.
.Pp
If an executable cannot be found, prints an error message and displays the prompt again. Handles errors, the “end of file” condition (Ctrl+D), command lines with arguments and the PATH. Implements the exit buit-in, that exits the shell (Usage: exit). Also implements the env built-in, that prints the current environment.
.SH OPTIONS
.B
does not take any options.
.SH SEE ALSO
.I sh(2), bash(2), zsh(2), powershell(1)
.SH BUGS
No known bugs.
.SH AUTHORS
Nick Boutboul
James Heck