Re: bash silently ignores additional arguments for cd

2011-12-07 Thread Vaclav Hanzl
(Sorry, this is reply to Chet Ramey, but I just subscribed to the list and web interface does not contain enough info to get threads right) > It's an interesting question. There's a question about whether or not this > behavior, which is more-or-less traditional, is a bug at all. I would certain

Re: bash silently ignores additional arguments for cd

2011-12-07 Thread Chet Ramey
On 12/7/11 8:21 AM, ha...@noel.feld.cvut.cz wrote: > Bash Version: 4.2 > Patch Level: 0 > Release Status: release > > Description: > cd silently ignores additional arguments > pwd, pushd and popd also do ignore additional arguments > > This seemes to be a long standing behavior

Re: bash silently ignores additional arguments for cd

2011-12-07 Thread Eric Blake
On 12/07/2011 12:02 PM, Eric Blake wrote: > Or even nicer, behave like zsh, and treat > cd xxx yyy > like this (written assuming extglob syntax) > cd xxx+($' \t')yyy Correction: cd xxx+([$' \t'])yyy -- Eric Blake ebl...@redhat.com+1-919-301-3266 Libvirt virtualization library http://lib

Re: bash silently ignores additional arguments for cd

2011-12-07 Thread Eric Blake
On 12/07/2011 06:21 AM, ha...@noel.feld.cvut.cz wrote: > Description: > cd silently ignores additional arguments > pwd, pushd and popd also do ignore additional arguments > > This seemes to be a long standing behavior, it is the same in bash > 3.1.17. > > Problem is also

Re: Bash git repository on savannah

2011-12-07 Thread Chet Ramey
On 11/23/11 11:23 PM, Chet Ramey wrote: > I spent a little while messing around with git over the past couple of > days, and ended up updating the bash git repository on savannah > (http://git.savannah.gnu.org/cgit/bash.git to browse the sources). > Bash-4.2 patch 20 is the head of the tree, and th

bash silently ignores additional arguments for cd

2011-12-07 Thread hanzl
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/local/share/locale' -DPACKA

Re: Non Incremental Nature of Custom Completion

2011-12-07 Thread Chet Ramey
On 12/6/11 12:04 PM, Bastien Dejean wrote: > Hi, > > I've made a custom completion function for one of my tools: > > https://github.com/baskerville/owl > > And I'd like `compgen -f` to behave like the default bash filename > completion, but it doesn't: for example, if I type `f` and if the o