Re: interesting question about shells

2014-12-26 Thread Wayne Cuddy
Bash and Zsh will already handle your first example without any tinkering. As Christian stated the completion systems are quite mature, I tend to prefer zsh myself. A good book that I recommend to get started is From Bash to Zsh. I found it easier to start with rather the supplied reference

Re: interesting question about shells

2014-12-26 Thread Jonathon Sisson
On Fri, Dec 26, 2014 at 03:48:43PM -0500, Wayne Cuddy wrote: A good book that I recommend to get started is From Bash to Zsh. I found it easier to start with rather the supplied reference documentation. Does From Bash to Zsh cover ksh, csh, tcsh, etc...? It sounds like a great book idea, but

Re: interesting question about shells

2014-12-26 Thread Wayne Cuddy
No really.. a lot of the basics are applicable to ksh (*sh) but *csh style shells aren't covered. On Fri, Dec 26, 2014 at 04:54:16PM -0500, Jonathon Sisson wrote: On Fri, Dec 26, 2014 at 03:48:43PM -0500, Wayne Cuddy wrote: A good book that I recommend to get started is From Bash to Zsh. I

interesting question about shells

2014-12-24 Thread Gregory Edigarov
Hi, an interesting question has just come to my head: do you know of any shell that could complete from the terminal output of any of the previous command? like for example: i want it to complete from a result of ls, so I give the ls command, look at its output, then for example i type 'cat

Re: interesting question about shells

2014-12-24 Thread Christian Weisgerber
On 2014-12-24, Gregory Edigarov ediga...@qarea.com wrote: an interesting question has just come to my head: do you know of any shell that could complete from the terminal output of any of the previous command? That would require serious contortions since the stdout/stderr output of commands

Re: interesting question about shells

2014-12-24 Thread Francois Pussault
From: Gregory Edigarov ediga...@qarea.com Sent: Wed Dec 24 15:56:02 CET 2014 To: misc@openbsd.org Subject: interesting question about shells Hi, an interesting question has just come to my head: do you know of any shell that could complete

Re: interesting question about shells

2014-12-24 Thread Gregory Edigarov
On 12/24/2014 06:19 PM, Christian Weisgerber wrote: On 2014-12-24, Gregory Edigarov ediga...@qarea.com wrote: an interesting question has just come to my head: do you know of any shell that could complete from the terminal output of any of the previous command? That would require serious