FIGNORE behaviour with 'CVS', version 3.1.17(1)-release (i486-pc-linux-gnu)

2006-11-27 Thread Craig Turner
From: [EMAIL PROTECTED] To: bug-bash@gnu.org,[EMAIL PROTECTED] Subject: FIGNORE=CVS behaviour, v3.1.17(1)-release Configuration Information [Automatically generated, do not change]: Machine: i486 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYP

Re: readline post-hook?

2006-11-27 Thread Chet Ramey
Sebastian Tannert wrote: > Is there a way to run a function after the user has finished > a line with RETURN to add characters to the readline buffer? > Of course one could malloc new memory and copy the stuff got by the > call of readline but may be there is a more smart way of doing it? There is

Re: Why is this executed inside a subshell?

2006-11-27 Thread Chet Ramey
Com MN PG P E B Consultant 3 wrote: > Consider the following program: > > #!/usr/local/bin/bash --norc > export VAR=A > function setvar > { > VAR=B > echo X > } > V=$(setvar) > echo $VAR > > When I execute it, I get as result "A", not "B", as I had expected. Posix requires that command subst

Re: Bug?

2006-11-27 Thread Chet Ramey
~Steck~ wrote: > I't bug? > [steck(~)]$ bash --version > GNU bash, version 3.1.10(1)-release (i386-portbld-freebsd6.1) > Copyright (C) 2005 Free Software Foundation, Inc. > > [steck(~)]$ cd / > [steck(/)]$ cd // > [steck(//)]$ pwd > // > [steck(//)]$ Please read the Bash FAQ, question E10. --

Re: Hidden files feature request

2006-11-27 Thread Matthew Woehlke
Uno Engborg wrote: In Gnome, MacOS-X, and in Kubuntu KDE, you can make a file hidden from the desktop environment by listing it in a file called .hidden. The .hidden file resides in the same directory as the files to be hidden, and lists the files to be hidden as one file/line. Files hidden by b

Re: Why is this executed inside a subshell?

2006-11-27 Thread Paul Jarc
"Com MN PG P E B Consultant 3" <[EMAIL PROTECTED]> wrote: > But it seems that within a $(...), even shell functions are executed > in a child process. Is this supposed to work that way? Yes. $() passes the output of the inner command to the outer shell via a pipe, with the inner command running i

readline post-hook?

2006-11-27 Thread Sebastian Tannert
Is there a way to run a function after the user has finished a line with RETURN to add characters to the readline buffer? Of course one could malloc new memory and copy the stuff got by the call of readline but may be there is a more smart way of doing it? Thanks for your help! Sebastian

Bug?

2006-11-27 Thread ~Steck~
Hi ppl I't bug? [steck(~)]$ bash --version GNU bash, version 3.1.10(1)-release (i386-portbld-freebsd6.1) Copyright (C) 2005 Free Software Foundation, Inc. [steck(~)]$ cd / [steck(/)]$ cd // [steck(//)]$ pwd // [steck(//)]$ -- PGP Public Key: http://steck.wormhole.ru/steck.asc __

Why is this executed inside a subshell?

2006-11-27 Thread Com MN PG P E B Consultant 3
Consider the following program: #!/usr/local/bin/bash --norc export VAR=A function setvar { VAR=B echo X } V=$(setvar) echo $VAR When I execute it, I get as result "A", not "B", as I had expected. If setvar would be an external program, I would understand the result, as this would have to be