1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 20:15:07 +00:00

Shell: Start writing a man page

This patch adds two man pages describing the parts of the shell that
have been so far finalised.
This commit is contained in:
AnotherTest 2020-07-16 22:34:30 +04:30 committed by Andreas Kling
parent a2b99dd3ea
commit 0950fd1438
3 changed files with 309 additions and 1 deletions

View file

@ -125,7 +125,9 @@ variable_decls :: identifier '=' expression (' '+ variable_decls)? ' '*
pipe_sequence :: command '|' pipe_sequence
| command
control_structure :: 'for' ws+ (identifier ' '+ 'in' ws*)? expression ws+ '{' toplevel '}'
control_structure :: for_loop
for_loop :: 'for' ws+ (identifier ' '+ 'in' ws*)? expression ws+ '{' toplevel '}'
command :: redirection command
| list_expression command?