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.
This commit is contained in:
Mike Karels 2023-11-27 10:55:11 -06:00
parent 3faba3002f
commit 1a7c9e1585

View File

@ -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