mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-05 01:42:54 +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:
parent
a2b99dd3ea
commit
0950fd1438
Notes:
sideshowbarker
2024-07-19 03:39:35 +09:00
Author: https://github.com/alimpfard
Commit: 0950fd1438
Pull-request: https://github.com/SerenityOS/serenity/pull/2824
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/bugaevc
Reviewed-by: https://github.com/nico
3 changed files with 309 additions and 1 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue