Is the error in "case 4" intentional behaviour...?

# case 1 - okay
cat - <<EOT |
...
EOT
awk '1' <( ... ) -


# case 2 - okay
awk '1' <( ... ) - <<EOT
...
EOT


# case 3 - okay
awk '1' <( ... ) <<EOT -
...
EOT


# case 4 - error: `)' unexpected
awk '1'  <<EOT <( ... ) -
...
EOT


# case 5 - okay
print "..." > infile
awk '1'  <<EOT infile -
...
EOT


Observed with version sh (AT&T Research) 93t+ 2010-03-05
Is this inconsistency fixed in newer versions of ksh (or is it intentional 
behaviour)?

Thanks!

                                          
_______________________________________________
ast-users mailing list
ast-users@lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-users

Reply via email to