-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsh_man
66 lines (41 loc) · 1.25 KB
/
sh_man
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
.TH SHELL 3 "21 November 2019" "1.0" "shell man page"
.SH NAME
lightning - lightning shell
.SH SYNOPSIS
lightning [options] [file]
.SH DESCRIPTION
.B lightning
is a command language interpreter that executes commands read from the standard
input or from a file.
.B Overview
The lightning is a command that reads lines for either a file or the terminal,
iterprets them, and generally executes other commands.
.B Lexical Structure
lightning reads input in terms of lines from a file and breaks it up into words
at whitespace.
.B Commands
The lightning interprets the words it reads according to a language, the
specification of which is outside the scope of this man page. Essentially
though, a line is read and if the first word of the line (or after a control
operator) is not a reserved word, then the shell has recognized a simple
command.
Otherwise, a complex command or some other special construct may have been
recognized.
.B ./hsh
This executable file runs the lighting shell
.SH BUILTINS
.B exit
The command the lightning shell
.B env
Prints out the environment variables
.SH EXAMPLE
$
$ ls
hsh main.c header.h
$ exit
$
.SH BUGS
No known bugs.
.SH AUTHOR
Ben Keener (1052@holbertonschool.com) and Kevin Paul Apostol
(858@holbertoschool.com)