On 4/2/23 12:54 PM, Oğuz wrote:
2 Nisan 2023 Pazar tarihinde Martin Schulte <g...@schrader-schulte.de> yazdı:

Hello,

in the following lines I consider dash's behaviour as correct an bash's as
wrong:


Bash expands `<()' as a process substitution. If you escape `<' or `(' it
works fine.

I am surprised that `<()' is not a syntax error when `()' is though.

Because `<()' is a valid word expansion that can appear as part of a word.
`()' is not.


--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/


Reply via email to