[
https://issues.apache.org/jira/browse/FELIX-1356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730899#action_12730899
]
Hiram Chirino commented on FELIX-1356:
--------------------------------------
I think it should be easy to argue that the RFC grammar is counter intuitive
due to the following example:
Say the user runs:
> a-command
> b-command
> c-command | grep 'a'
I think he would expect that above statements would be interpreted as being 1
program entered into an interactive console. When actually it's 3 programs
being run. And further more it would be intuitive to think that the above
would be the equivalent of the following closure:
{ a-command ; b-command ; c-command | grep 'a' }
Which currently it is not.
> Piping output from multiple statements on single line should behave similar
> to how Unix shells handle redirection.
> ------------------------------------------------------------------------------------------------------------------
>
> Key: FELIX-1356
> URL: https://issues.apache.org/jira/browse/FELIX-1356
> Project: Felix
> Issue Type: Improvement
> Reporter: Hiram Chirino
>
> Use compare the command and result of these unix shell statements:
> $ echo hello ; echo hello | echo world
> hello
> world
> With the gogo equivalent:
> $ echo hello ; echo hello | echo world
> world
> Seems like in the gogo case the pipe is applied to both statements while in
> the unix case, the pipe is only applied to the statement the pipe is defined
> in.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.