From 32bfb485775cd9d36e9057ed0a5c613feed8c156 Mon Sep 17 00:00:00 2001 From: AnotherTest Date: Tue, 18 Aug 2020 01:52:17 +0430 Subject: [PATCH] Shell: Update manpage about for loop behaviour around signals --- Base/usr/share/man/man5/Shell.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Base/usr/share/man/man5/Shell.md b/Base/usr/share/man/man5/Shell.md index 3821ceeb4ad..175919489c9 100644 --- a/Base/usr/share/man/man5/Shell.md +++ b/Base/usr/share/man/man5/Shell.md @@ -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