You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Yongjin Xu (JIRA)" <ji...@apache.org> on 2009/11/18 15:46:39 UTC
[jira] Commented: (FELIX-1356) Piping output from multiple
statements on single line should behave similar to how Unix shells handle
redirection.
[ https://issues.apache.org/jira/browse/FELIX-1356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12779470#action_12779470 ]
Yongjin Xu commented on FELIX-1356:
-----------------------------------
I find following command works
echo "123" <echo "234"<echo "456"|grep '3'
and it produces
123 234 456
> 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.