On Thu, Aug 18, 2016 at 10:08:32AM +0200, Martin Natano wrote:
> ksh.1 states:
> 
>       Note: $(command) expressions are currently parsed by finding the 
> matching
>       parenthesis, regardless of quoting.  This should be fixed soon.
> 
> Seems like the "soon" mentioned here is already past.
> 
>       $ echo $(echo "closing: )")
>       closing: )
>       $
> 
> Ok? Am I missing something?
> 
> natano
> 

i'm honestly not sure what the note refers to exactly. i mean, surely
ksh has to find the matching parenthesis regardless of quoting anyway.
obviously i'm missing something too...

i guess if no one knows otherwise it would be fine to zap.

jmc

> 
> Index: ksh.1
> ===================================================================
> RCS file: /cvs/src/bin/ksh/ksh.1,v
> retrieving revision 1.179
> diff -u -p -r1.179 ksh.1
> --- ksh.1     27 Apr 2016 12:46:23 -0000      1.179
> +++ ksh.1     18 Aug 2016 07:56:10 -0000
> @@ -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))
> 

Reply via email to