palaniyappanBala / klish

Automatically exported from code.google.com/p/klish
Other
0 stars 0 forks source link

Grep for Klish - HowTo? #136

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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