-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd < <{subcmd}
produces syntax error
#56
Comments
Another non-sh shell, fish, currently does not have a |
The difference between As es works today, You can see this in action by manually "parsing" the syntax down to hook functions:
I find the whole "use process substitution to work around pipes being executed in a subprocess" thing in bash to be obnoxious, but at least there's some syntax at all for it. |
I can see your reasoning, but
And
I guess my point is that the benefit does not seem worth the trouble involved in modifying the yacc grammar to be able to obtain
and subsequently rewrite it to
The same would also need to be done for I certainly agree that the syntax and general behavior of the shell is currently too limited to allow for the desired behavior, but i imagine that's one of the best reasons why the functions are available in es: they allow you to do things that otherwise aren't possible. |
This seems like syntax that should be valid, right? Minimal (useless) example:
Found while thinking about alternatives to #55.
The text was updated successfully, but these errors were encountered: