mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 08:28:11 +00:00
Shell: Update manpage about for loop behaviour around signals
This commit is contained in:
parent
4ee4c94d60
commit
32bfb48577
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ The general syntax follows the form `for name in expr { sequence }`, and allows
|
|||
|
||||
A for-loop evaluates the _sequence_ once per every element in the _expr_, seetting the local variable _name_ to the element being processed.
|
||||
|
||||
The Shell shall cancel the for loop if two consecutive commands are interrupted via any of SIGINT (\^C), SIGQUIT (\^\\) or SIGKILL.
|
||||
The Shell shall cancel the for loop if two consecutive commands are interrupted via SIGINT (\^C), and any other terminating signal aborts the loop entirely.
|
||||
|
||||
#### Examples
|
||||
```sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue