Re: feature request: file_not_found_handle()

2013-08-21 Thread Ken Irving
On Wed, Aug 21, 2013 at 12:21:11PM -0700, Eduardo A. Bustamante López wrote: > On Wed, Aug 21, 2013 at 08:39:53PM +0200, Andreas Gregor Frank wrote: > > Hello Greg, > > > > this is a feature request for no_such_file_or_directory_ > > handle(). I do not want to talk about missing quotes in anyone's

Re: feature request: file_not_found_handle()

2013-08-21 Thread Chris Down
On 2013-08-21 13:12, Ken Irving wrote: > Yes I do have some idea. I read the bash-bug list regularly, and many > times (even if you can't tell) refer to the wiki you host, read the FAQs, > RTFMs, try to absorb what wisdom I can, and in general try to improve on > the bash coding I do use. But thi

Re: feature request: file_not_found_handle()

2013-08-21 Thread Ken Irving
On Wed, Aug 21, 2013 at 08:10:50AM -0400, Greg Wooledge wrote: > On Wed, Aug 21, 2013 at 02:22:24AM -0800, Ken Irving wrote: > > $ cat $(ambler.method dispatch) > > #!/bin/bash > > method=$1 && shift > > test -n "$method" || exit > > for s in $(ls|shuf); do > > tob $s.$m

Bug in bash(1)

2013-08-21 Thread Thomas Hood
There appears to be a redundancy in the description of the "disown" builtin in bash(1). Version is 4.2. disown [-ar] [-h] [jobspec ...] [...] If jobspec is not present, and neither -a nor -r is supplied, the shell's notion of the current job is used.

Re: feature request: file_not_found_handle()

2013-08-21 Thread Andreas Gregor Frank
Hi Eduardo, thank you very much for this constructive and honest answer. Not what i hoped to see, but this is only a request. For me only a nice to have...so fine bye Andreas 2013/8/21 Eduardo A. Bustamante López > On Wed, Aug 21, 2013 at 08:39:53PM +0200, Andreas Gregor Frank wrote: > > Hell

Re: feature request: file_not_found_handle()

2013-08-21 Thread Eduardo A . Bustamante López
On Wed, Aug 21, 2013 at 08:39:53PM +0200, Andreas Gregor Frank wrote: > Hello Greg, > > this is a feature request for no_such_file_or_directory_ > handle(). I do not want to talk about missing quotes in anyone's code > example! You are free to send patches with the proposed feature. That way we w

Re: feature request: file_not_found_handle()

2013-08-21 Thread Andreas Gregor Frank
Hello Greg, this is a feature request for no_such_file_or_directory_ handle(). I do not want to talk about missing quotes in anyone's code example! And the question if it makes sense to implement a command_not_found_handle() in this or that way has nothing to do with this request, too. How someone

Re: feature request: file_not_found_handle()

2013-08-21 Thread Greg Wooledge
On Wed, Aug 21, 2013 at 02:22:24AM -0800, Ken Irving wrote: > $ cat $(ambler.method dispatch) > #!/bin/bash > method=$1 && shift > test -n "$method" || exit > for s in $(ls|shuf); do > tob $s.$method "$@" & > done As far as I can tell, this is some incredibly stupid

Re: feature request: file_not_found_handle()

2013-08-21 Thread Linda Walsh
Chris Down wrote: On 2013-08-20 18:47, Linda Walsh wrote: If it wasn't for things doing what we don't expect, many things wouldn't be around (aspirin, popcorn, digitalis, Rogain, & tons more... most things are found by NOT using them they way you are directed to use them). This is such a poo

Re: feature request: file_not_found_handle()

2013-08-21 Thread Chris Down
On 2013-08-20 18:47, Linda Walsh wrote: > If it wasn't for things doing what we don't expect, many things wouldn't be > around (aspirin, popcorn, digitalis, Rogain, & tons more... most things are > found by NOT using them they way you are directed to use them). This is such a poor analogy that I d

Re: feature request: file_not_found_handle()

2013-08-21 Thread Ken Irving
On Tue, Aug 20, 2013 at 04:44:57PM +0200, Roman Rakus wrote: > You are badly using features of bash. Write a script which will do > things for you, or use any other language/shell. There's only one feature being used, a hook that bash calls in the event that a command is not found. The request i