darkphase / klish

Tool for Implementing Custom Shells

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Grep for Klish - HowTo?

GoogleCodeExporter opened this issue · comments

Hello!

I was looking at "issue 37" and Serj mentioned:
"I think you can emulate it by creating subcommand with name "|" but it will be 
the one long command instead two separate commands as in a real shell."

I had access to a CISCO shell and it feels this is how they do it too.

Would you know a nice way to insert the same subcommand in all my commands? 
Instead of duplicating the "|" subcommand in each command, would you know a way 
to link a subcommand?
It could be done at the XML level (but I dont think XML has a pointer/copy 
capability) or at the Klish level if I want to share subcommands?

My ACTION(s) tag would of course all support those features.

Thanks!

Original issue reported on code.google.com by corent...@gmail.com on 15 Oct 2013 at 11:15

I don't know another way to do it. And it's not planned to implement pipe soon

Original comment by serj.kalichev@gmail.com on 4 Dec 2013 at 8:10

  • Changed state: Done