Re: [Bash-completion-devel] completion for ipv6calc

2010-02-07 Thread Freddy Vulto
On 100116 11:38, Ville Skyttä wrote: On Friday 15 January 2010, Freddy Vulto wrote: Maybe we'd also better merge _get_cword and _get_pword together to a new: _get_cwords_by_ref 'nonwordbreakchars' cur [prev [prevprev] ...] with `prev', `prevprev', etc. being optional arguments.

Re: [Bash-completion-devel] -o posix, IFS and local

2010-02-07 Thread Crestez Dan Leonard
On Sat, 2010-02-06 at 13:57 +0100, Freddy Vulto wrote: I was able to reproduce the problem on bash-4.0.33 and bash-3.2.39 with a very little script: set -o posix t() { local x BAR=a eval true } BAR=b; t; echo $BAR outputs a, but with `#local x'