Exclamation points in quoted strings

2007-10-12 Thread Ethan Glasser-Camp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm not a shell script pro and I don't know much about POSIX, but I have found this puzzling behavior in bash, and although it is documented I don't really understand why bash behaves this way. I was hoping someone could tell me. [EMAIL PROTECTED

command completion mishandles spaces

2007-10-12 Thread neil
Configuration Information [Automatically generated, do not change]: Machine: i486 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='ba

Re: ulimit builtin block size

2007-10-12 Thread Bob Proulx
Chet Ramey wrote: > I've received a bug report noting that the `block size' the ulimit builtin > is using (the multiplier applied to the -f and -c options) is 1024, where > the POSIX standard and historical sh usage specify 512. > > I'm considering changing the default block size for the next vers

ulimit builtin block size

2007-10-12 Thread Chet Ramey
I've received a bug report noting that the `block size' the ulimit builtin is using (the multiplier applied to the -f and -c options) is 1024, where the POSIX standard and historical sh usage specify 512. I'm considering changing the default block size for the next version. Just a heads-up to wat

Re: Failed trap ERR inside function

2007-10-12 Thread Chet Ramey
Evgenij Shkrigunov wrote: > Description: > Failed trap ERR inside function. Below is an example of script(see comments): > > #!/bin/bash -E > > err_print() { > RETVAL=$? > echo "Nonzero exit: $RETVAL" > echo "file: ${BASH_SOURCE[0]}" > echo "line: ${BASH_LINENO[0]}" > } > > trap

Re: bash script in background gets interrupted if carriage return is hit...

2007-10-12 Thread Chet Ramey
Ken Failbus wrote: > I have a script that when run in background and while it's running > hitting a carriage return causes it's to completely stop the script and > the terminal in which it's running disappears. It seems as though it > received a interrupt signal. Is there some kind of a job contro

Re: bash script in background gets interrupted if carriage return is hit...

2007-10-12 Thread Bob Proulx
Ken Failbus wrote: > I have a script that when run in background and while it's running > hitting a carriage return causes it's to completely stop the script and > the terminal in which it's running disappears. It seems as though it > received a interrupt signal. Is there some kind of a job control

bash script in background gets interrupted if carriage return is hit...

2007-10-12 Thread Ken Failbus
Hi, I have a script that when run in background and while it's running hitting a carriage return causes it's to completely stop the script and the terminal in which it's running disappears. It seems as though it received a interrupt signal. Is there some kind of a job control or terminal keys gett