cc: [email protected]
Subject: Re: [ast-users] command substitution with short-form heredoc
--------
> $ print ${.sh.version}
> Version AJM 93u+ 2012-08-01
> $ dc<<<"4k$(printf '3\n3\n'|cut -f1)/100*p"
> 100.0000
> $ print "$(dc<<<"4k$(printf '3\n3\n'|cut -f1)/100*p")"
>
> $
>
> afaict these two lines should do the same thing
>
> in earlier versions (e.g. plain 93u) you get an unrecoverable hang instead
>
>
I just ran with ksh93v- and I get the same output with both, 100.0000.
David Korn
[email protected]
_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users