You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jason Dillon (JIRA)" <ji...@apache.org> on 2006/06/26 07:41:29 UTC

[jira] Created: (GSHELL-23) Command pipe-lines

Command pipe-lines
------------------

         Key: GSHELL-23
         URL: http://issues.apache.org/jira/browse/GSHELL-23
     Project: GShell (Sandbox)
        Type: New Feature
    Security: public (Regular issues) 
  Components: Core  
    Reporter: Jason Dillon
 Assigned to: Jason Dillon 


Add support for piping the output of one command into another, as in:

{noformat}
echo "hi" | cat > /tmp/foo
{noformat}

This should write "hi" to the /tmp/foo file.

Follow zsh style, allowing |& to concat both stdout+stderr

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GSHELL-23) Command pipe-lines

Posted by "Jason Dillon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GSHELL-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Dillon updated GSHELL-23:
-------------------------------

    Fix Version/s:     (was: 1.0-alpha-2)
                   1.0-alpha-3

> Command pipe-lines
> ------------------
>
>                 Key: GSHELL-23
>                 URL: https://issues.apache.org/jira/browse/GSHELL-23
>             Project: GShell
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Core, Parser
>            Reporter: Jason Dillon
>            Assignee: Erik B. Craig
>             Fix For: 1.0-alpha-3
>
>
> Add support for piping the output of one command into another, as in:
> {noformat}
> echo "hi" | cat > /tmp/foo
> {noformat}
> This should write "hi" to the /tmp/foo file.
> Follow zsh style, allowing |& to concat both stdout+stderr

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (GSHELL-23) Command pipe-lines

Posted by "Erik B. Craig (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GSHELL-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erik B. Craig reassigned GSHELL-23:
-----------------------------------

    Assignee: Erik B. Craig

> Command pipe-lines
> ------------------
>
>                 Key: GSHELL-23
>                 URL: https://issues.apache.org/jira/browse/GSHELL-23
>             Project: GShell
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Core, Parser
>            Reporter: Jason Dillon
>            Assignee: Erik B. Craig
>             Fix For: 1.0-alpha-2
>
>
> Add support for piping the output of one command into another, as in:
> {noformat}
> echo "hi" | cat > /tmp/foo
> {noformat}
> This should write "hi" to the /tmp/foo file.
> Follow zsh style, allowing |& to concat both stdout+stderr

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GSHELL-23) Command pipe-lines

Posted by "Jason Dillon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GSHELL-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Dillon updated GSHELL-23:
-------------------------------

      Component/s: Parser
    Fix Version/s:     (was: 1.0-alpha-1)
                   1.0-alpha-2

> Command pipe-lines
> ------------------
>
>                 Key: GSHELL-23
>                 URL: https://issues.apache.org/jira/browse/GSHELL-23
>             Project: GShell
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Core, Parser
>            Reporter: Jason Dillon
>             Fix For: 1.0-alpha-2
>
>
> Add support for piping the output of one command into another, as in:
> {noformat}
> echo "hi" | cat > /tmp/foo
> {noformat}
> This should write "hi" to the /tmp/foo file.
> Follow zsh style, allowing |& to concat both stdout+stderr

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GSHELL-23) Command pipe-lines

Posted by "Jason Dillon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GSHELL-23?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580662#action_12580662 ] 

Jason Dillon commented on GSHELL-23:
------------------------------------

Cool

> Command pipe-lines
> ------------------
>
>                 Key: GSHELL-23
>                 URL: https://issues.apache.org/jira/browse/GSHELL-23
>             Project: GShell
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Core, Parser
>            Reporter: Jason Dillon
>            Assignee: Erik B. Craig
>             Fix For: 1.0-alpha-3
>
>
> Add support for piping the output of one command into another, as in:
> {noformat}
> echo "hi" | cat > /tmp/foo
> {noformat}
> This should write "hi" to the /tmp/foo file.
> Follow zsh style, allowing |& to concat both stdout+stderr

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GSHELL-23) Command pipe-lines

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GSHELL-23?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580371#action_12580371 ] 

Guillaume Nodet commented on GSHELL-23:
---------------------------------------

Author: gnodet
Date: Wed Mar 19 06:30:40 2008
Support for "|" in the command line.
Redirections are not supported yet though.

New Revision: 638824

URL: http://svn.apache.org/viewvc?rev=638824&view=rev
Log:
GSHELL-23: command pipelines

Modified:
   geronimo/gshell/trunk/gshell-command-api/src/main/java/org/apache/geronimo/gshell/command/CommandExecutor.java
   geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/DefaultCommandExecutor.java
   geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/DefaultShell.java
   geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/ExecutingVisitor.java
   geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/GShell.java
   geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/LoggingVisitor.java
   geronimo/gshell/trunk/gshell-parser/src/main/grammar/CommandLineParser.jjt
   geronimo/gshell/trunk/gshell-parser/src/test/java/org/apache/geronimo/gshell/parser/CommandLineParserTest.java
   geronimo/gshell/trunk/gshell-parser/src/test/java/org/apache/geronimo/gshell/parser/CommandLineParserVisitorTest.java
   geronimo/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RshClient.java
   geronimo/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/proxy/RemoteShellProxy.java
   geronimo/gshell/trunk/gshell-remote/gshell-remote-common/src/main/java/org/apache/geronimo/gshell/remote/message/ExecuteMessage.java
   geronimo/gshell/trunk/gshell-remote/gshell-remote-server/src/main/java/org/apache/geronimo/gshell/remote/server/DefaultRemoteShell.java

> Command pipe-lines
> ------------------
>
>                 Key: GSHELL-23
>                 URL: https://issues.apache.org/jira/browse/GSHELL-23
>             Project: GShell
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Core, Parser
>            Reporter: Jason Dillon
>            Assignee: Erik B. Craig
>             Fix For: 1.0-alpha-3
>
>
> Add support for piping the output of one command into another, as in:
> {noformat}
> echo "hi" | cat > /tmp/foo
> {noformat}
> This should write "hi" to the /tmp/foo file.
> Follow zsh style, allowing |& to concat both stdout+stderr

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (GSHELL-23) Command pipe-lines

Posted by "Jason Dillon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GSHELL-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Dillon closed GSHELL-23.
------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.0-alpha-3)
                   1.0-alpha-2
         Assignee: Jason Dillon  (was: Erik B. Craig)

Basic support is in for this.

> Command pipe-lines
> ------------------
>
>                 Key: GSHELL-23
>                 URL: https://issues.apache.org/jira/browse/GSHELL-23
>             Project: GShell
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Parser
>            Reporter: Jason Dillon
>            Assignee: Jason Dillon
>             Fix For: 1.0-alpha-2
>
>
> Add support for piping the output of one command into another, as in:
> {noformat}
> echo "hi" | cat > /tmp/foo
> {noformat}
> This should write "hi" to the /tmp/foo file.
> Follow zsh style, allowing |& to concat both stdout+stderr

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GSHELL-23) Command pipe-lines

Posted by "Jason Dillon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GSHELL-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Dillon updated GSHELL-23:
-------------------------------

    Assignee:     (was: Jason Dillon)

> Command pipe-lines
> ------------------
>
>                 Key: GSHELL-23
>                 URL: https://issues.apache.org/jira/browse/GSHELL-23
>             Project: GShell
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Core
>            Reporter: Jason Dillon
>             Fix For: 1.0-alpha-1
>
>
> Add support for piping the output of one command into another, as in:
> {noformat}
> echo "hi" | cat > /tmp/foo
> {noformat}
> This should write "hi" to the /tmp/foo file.
> Follow zsh style, allowing |& to concat both stdout+stderr

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.