Description:
Bourne Again SHell bug reports.
|
|
|
Missing "#if defined (JOB_CONTROL)" line in execute_cmd.c.
|
| |
Configuration Information:
OS: linux-gnu
Compiler: gcc 4.8
Bash Version: 4.2
Release Status: release
Description, Fix:
I was just compiling bash and (due, I think, to an error on my part)
ended up with a configuration for which JOB_CONTROL was not defined.
As a result, I uncovered two bugs:... more »
|
|
`printf -v foo ""` does not set foo=
|
| |
simple test code:
unset foo
printf -v foo ""
echo ${foo+set}
that does not display "set". seems to have been this way since the feature was added in bash-3.1.
-mike
|
|
bug batch
|
| |
Hello,
Clearing out the remainder of my "maybe bugs" file, in no particular order.
1. Arithmetic assignment precedence / associativity.
Most shells (and GCC) consider not grouping the assignment in a situation like
this an error. Bash tolerates it, apparently reversing associativity:
: $((1 == x = 1)) # Error in dash/ksh/mksh/zsh/etc... more »
|
|
regex confusion -- not matching; think it should?
|
| |
The trace looks aprolike this:
... ^([a-zA-Z][-a-zA-Z0-9_]+)=(.+) [[:space:]]+[a-zA-Z][-a-zA-Z0- 9_]+=.+.*$ ]]
...
(#138 is all 1 line)
---- the source code looks like this:
my id='[a-zA-Z][-a-zA-Z0-9_]+'
while ((${#bond_ops}>3)); do
if [[ $bond_ops =~ ^($id)=(.+)[[:space:]]+$id=.+. *$ ]]; then... more »
|
|
\H in PS1 adds the hostname without the domain to the prompt
|
| |
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: x86_64-pc-linux-gnu-gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-lin ux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale ' -DPACKAGE='bash'... more »
|
|
currently doable? Indirect notation used w/a hash
|
| |
I was wondering if I was missing some syntax somewhere...
but I wanted to be able to pass the name of a hash in
and store stuff in it and later retrieve it... but it
looks like it's only possible with an eval or such?
Would be nice....(??)*sigh*
|
|
noclobber vs command not found
|
| |
Hello noclobber fans. It was a cheery day, until during an aptitude
"safe-upgrade",
Processing triggers for hicolor-icon-theme ...
(gtk-update-icon-cache:13613): GdkPixbuf-WARNING **: Cannot open
pixbuf loader module file
'/usr/lib/i386-linux-gnu/gdk-p ixbuf-2.0/2.10.0/loaders.cache ': No... more »
|
|
don't just seek to the next line if the script has been edited
|
| |
Let's say you are running a script that is doing
a loop while ... echo Enter name; read name; ..
During which the script gets edited on the disk by somebody.
Well shouldn't bash, when it goes back to the disk to read some next
part of the script, first do some sort of check to tell if the script has... more »
|
|
typeset -p & manpage on it are confusing w/rt funcs
|
| |
I wanted to test to see if a function was defined and looking at
typeset in the bash man page, I see
typeset ... The -p option will
display the attributes and values of each name. When -p is used
with name arguments, additional options are ignored. When -p is... more »
|
|
|