Re: BASH_ARGV -- arguments are reversed

2014-11-27 Thread Clark Wang
On Fri, Nov 28, 2014 at 1:07 PM, William Park wrote: > Hi all, > > I just noticed that BASH_ARGV contains commandline arguments in reverse. > That's because it's a stack. According the bash manual: "The final parameter of the last subroutine call is at the top of the stack; the first parameter o

BASH_ARGV -- arguments are reversed

2014-11-27 Thread William Park
Hi all, I just noticed that BASH_ARGV contains commandline arguments in reverse. $ cat > x.sh #!/bin/sh declare -p BASH_ARGV ^D $ sh x.sh 1 2 3 4 5 declare -a BASH_ARGV='([0]="5" [1]="4" [2]="3" [3]="2" [4]="1")' -- William

bash 4.3: "Clear Scrollback and Reset" (Ctrl-Shift-X) in konsole stopped to work as expected when upgrading from upstream bash 4.2 to upstream bash 4.3

2014-11-27 Thread Askar Safin
Package: bash Version: 4.3 Severity: important Tags: upstream Steps to reproduce: open konsole (with bash in it) and type Ctrl-Shift-X (this is shortcut for "Clear Scrollback and Reset" feature in konsole). What I see: the terminal clears and no prompt appear. What I expected: I expected prompt

Re: BASH_FUNC__ appearing in environment

2014-11-27 Thread konsolebox
On Fri, Nov 28, 2014 at 12:36 AM, steveT wrote: > Is there any way that I can trace them back to their 'creator'? Besides checking common startup files like /etc/profile and ~/.profile or ~/.bashrc (see http://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html), you can also try

Re: BASH_FUNC__ appearing in environment

2014-11-27 Thread steveT
On Thursday, 27 November 2014 16:23:15 UTC, Eduardo A. Bustamante López wrote: > On Thu, Nov 27, 2014 at 03:43:05AM -0800, steveT wrote: > > I am not sure if this is the correct place to raise this - I have tried > > specific Fedora and bash forums, but with no joy so far. > Bash forums :-)? I'm

Re: BASH_FUNC__ appearing in environment

2014-11-27 Thread Eduardo A . Bustamante López
On Thu, Nov 27, 2014 at 03:43:05AM -0800, steveT wrote: > I am not sure if this is the correct place to raise this - I have tried > specific Fedora and bash forums, but with no joy so far. Bash forums :-)? I'm interested on knowing which ones! > This may be expected behaviour, but it seems so ran

BASH_FUNC__ appearing in environment

2014-11-27 Thread steveT
I am not sure if this is the correct place to raise this - I have tried specific Fedora and bash forums, but with no joy so far. I am running bash: (Linux)D610 :stevet : /etc> bash --version GNU bash, version 4.2.53(1)-release (i686-redhat-linux-gnu) ...under Fedora 20. I tend to use gnome term