summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorczarkoff <czarkoff@openbsd.org>2016-09-27 23:58:38 +0000
committerczarkoff <czarkoff@openbsd.org>2016-09-27 23:58:38 +0000
commitf0b9a25a2c40285b6a78a3626939bca0eda320a5 (patch)
tree4b647c57c23c2535b31b8b8456cf2b186064d881
parentsync (diff)
downloadwireguard-openbsd-f0b9a25a2c40285b6a78a3626939bca0eda320a5.tar.xz
wireguard-openbsd-f0b9a25a2c40285b6a78a3626939bca0eda320a5.zip
Move bug description to the BUGS section
OK natano@, jmc@ (I forgot to commit it back in mid-August when it was discussed.)
-rw-r--r--bin/ksh/ksh.121
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) .