diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2015-03-26 10:37:00 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2015-03-26 10:37:00 +0000 |
commit | e09652f0a48ab042d0b2996ae89580cf0ad2dadf (patch) | |
tree | a32fcbb2135b374a5b0180dfe2618652c56f2f9c /bin/ksh | |
parent | 5df9b715a94458c23abeef227cfac80fbe1f1cc9 (diff) |
from zhuk: sequential and asynchronous lists may take only one item;
Diffstat (limited to 'bin/ksh')
-rw-r--r-- | bin/ksh/sh.1 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/ksh/sh.1 b/bin/ksh/sh.1 index 75ffbf2b612..ac9d64975a8 100644 --- a/bin/ksh/sh.1 +++ b/bin/ksh/sh.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sh.1,v 1.119 2015/03/26 09:59:23 jmc Exp $ +.\" $OpenBSD: sh.1,v 1.120 2015/03/26 10:36:59 jmc Exp $ .\" .\" Copyright (c) 2015 Jason McIntyre <jmc@openbsd.org> .\" @@ -1632,7 +1632,7 @@ it attempts to execute the command in an environment separate from the shell. If it is unable to execute the command, it tries to run it as a shell script. .Pp -A series of commands separated by +A series of one or more commands separated by .Sq ;\& constitute a .Em sequential list , @@ -1640,9 +1640,9 @@ where commands are executed in the order given. The exit status of a sequential list is that of the last command executed. The format for a sequential list is: .Pp -.D1 Ar command ; Ar command Op ; Ar ... +.D1 Ar command\ \& ; Op Ar command ... .Pp -A series of commands separated by +A series of one or more commands separated by .Sq & constitute an .Em asynchronous list , @@ -1651,7 +1651,7 @@ and runs the next command without waiting for the previous one to finish. The exit status of an asynchronous list is always zero. The format for an asynchronous list is: .Pp -.D1 Ar command No & Ar command Op & Ar ... +.D1 Ar command No & Op Ar command ... .Pp A series of commands separated by .Sq | |