-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathman_1_simple_shell
More file actions
37 lines (37 loc) · 1.12 KB
/
Copy pathman_1_simple_shell
File metadata and controls
37 lines (37 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.TH HSH 1 "16 April 2020" "version 1.0"
.SH NAME
hsh \- Holberton Shell
.SH SYNOPSIS
.B hsh
[file or arguements]
.SH DESCRIPTION
.I hsh
is a simple UNIX command language interpreter that executes commands read
from standard input. A full manual on docomentation can be found in the
readme file.
.SH ARGUEMENTS
The first argument read from standard input is assumed to be the command
name and the following arguments are its parameters.
.PP
.B hsh
reads and executes commands from standard input or the file, then exits.
.PP
.B hsh
An attempt is made to open the file in the current directory.If no file is
found, then the shell searches the directories in PATH for the script.
.SH SHELL GRAMMAR
.B Simple Command
is a sequence of optional variable assignments followed by a blank separated
words. Blanks include spaces, new lines, and tabs. The first word specifies
the command to be executed, and is passed as arguement zero, the remaining
words are passed as arguements to the command.
.SH AUTHORS
Osama Basheer - Holberton student
.PP
Logan Scanlon - Holberton student
.PP
.SH "SEE ALSO"
sh(1)
.SH "BUGS"
.PP
Multiple commands do not work.