Skip to content

Commit

Permalink
pwait.1: add missing prompt and command in examples
Browse files Browse the repository at this point in the history
Two examples showed '$?' alone on a line, which should be '$ echo $?'.
The third example got it right.  Fix the first two.
  • Loading branch information
Mike Karels authored and Mike Karels committed Nov 27, 2023
1 parent 3faba30 commit 1a7c9e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/pwait/pwait.1
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ $ sleep 30 & sleep 3600 &
[1] 1646
[2] 1647
$ pwait -o -t5 1646 1647
$?
$ echo $?
124
.Ed
.Pp
Expand All @@ -111,7 +111,7 @@ $ sleep 30 & sleep 3600 &
[2] 1653
$ pwait -v -t 5 1652 1653
timeout
$?
$ echo $?
124
.Ed
.Pp
Expand Down

0 comments on commit 1a7c9e1

Please sign in to comment.