mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 15:40:44 +00:00
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:
parent
3faba3002f
commit
1a7c9e1585
|
@ -97,7 +97,7 @@ $ sleep 30 & sleep 3600 &
|
||||||
[1] 1646
|
[1] 1646
|
||||||
[2] 1647
|
[2] 1647
|
||||||
$ pwait -o -t5 1646 1647
|
$ pwait -o -t5 1646 1647
|
||||||
$?
|
$ echo $?
|
||||||
124
|
124
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
|
@ -111,7 +111,7 @@ $ sleep 30 & sleep 3600 &
|
||||||
[2] 1653
|
[2] 1653
|
||||||
$ pwait -v -t 5 1652 1653
|
$ pwait -v -t 5 1652 1653
|
||||||
timeout
|
timeout
|
||||||
$?
|
$ echo $?
|
||||||
124
|
124
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
|
|
Loading…
Reference in a new issue