diff options
author | Dmitrij Czarkoff <czarkoff@cvs.openbsd.org> | 2016-09-27 23:58:39 +0000 |
---|---|---|
committer | Dmitrij Czarkoff <czarkoff@cvs.openbsd.org> | 2016-09-27 23:58:39 +0000 |
commit | 2eec368418b7dcd2bf8f56795ab9ec986e6379c0 (patch) | |
tree | b014db6d28f3a8e9dfc9fdc0f928fa0ba3db3db8 /bin/ksh/ksh.1 | |
parent | 66eaa6d4908d4ae68dae91505c11bb13e35cb34f (diff) |
Move bug description to the BUGS section
OK natano@, jmc@
(I forgot to commit it back in mid-August when it was discussed.)
Diffstat (limited to 'bin/ksh/ksh.1')
-rw-r--r-- | bin/ksh/ksh.1 | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/bin/ksh/ksh.1 b/bin/ksh/ksh.1 index a2bdea1843a..9f96b2f88b9 100644 --- a/bin/ksh/ksh.1 +++ b/bin/ksh/ksh.1 @@ -1,8 +1,8 @@ -.\" $OpenBSD: ksh.1,v 1.180 2016/09/04 17:21:44 nicm Exp $ +.\" $OpenBSD: ksh.1,v 1.181 2016/09/27 23:58:38 czarkoff Exp $ .\" .\" Public Domain .\" -.Dd $Mdocdate: September 4 2016 $ +.Dd $Mdocdate: September 27 2016 $ .Dt KSH 1 .Os .Sh NAME @@ -1007,12 +1007,6 @@ has the same effect as .Ic $(cat foo) , but it is carried out more efficiently because no process is started. .Pp -.Sy Note : -.Pf $( Ar command ) -expressions are currently parsed by finding the matching parenthesis, -regardless of quoting. -This should be fixed soon. -.Pp Arithmetic substitutions are replaced by the value of the specified expression. For example, the command .Ic echo $((2+3*4)) @@ -5580,3 +5574,14 @@ The .Pa CONTRIBUTORS file in the source distribution contains a more complete list of people and their part in the shell's development. +.Sh BUGS +.Pf $( Ar command ) +expressions are currently parsed by finding the closest matching (unquoted) +parenthesis. +Thus constructs inside +.Pf $( Ar command ) +may produce an error. +For example, the parenthesis in +.Ql x);; +is interpreted as the closing parenthesis in +.Ql $(case x in x);; *);; esac) . |