From 1a7c9e1585dd3ae14b03226e359d434c10066bfb Mon Sep 17 00:00:00 2001 From: Mike Karels Date: Mon, 27 Nov 2023 10:55:11 -0600 Subject: [PATCH] pwait.1: add missing prompt and command in examples Two examples showed '$?' alone on a line, which should be '$ echo $?'. The third example got it right. Fix the first two. --- bin/pwait/pwait.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/pwait/pwait.1 b/bin/pwait/pwait.1 index 9310b74d5683..83ac8bcef317 100644 --- a/bin/pwait/pwait.1 +++ b/bin/pwait/pwait.1 @@ -97,7 +97,7 @@ $ sleep 30 & sleep 3600 & [1] 1646 [2] 1647 $ pwait -o -t5 1646 1647 -$? +$ echo $? 124 .Ed .Pp @@ -111,7 +111,7 @@ $ sleep 30 & sleep 3600 & [2] 1653 $ pwait -v -t 5 1652 1653 timeout -$? +$ echo $? 124 .Ed .Pp