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
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
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
~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.
--
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
"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
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
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
__
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