Re: Inconsitent treatment of * (globbing)

2011-01-31 Thread Stephane CHAZELAS
2011-01-31, 11:44(-05), Greg Wooledge: > On Sat, Jan 29, 2011 at 12:58:56PM +0100, Pascal Wittmann wrote: >> But if I use the expression ".*" in bash, I would expect from the >> behaviour of "*", that >> ".*" don't include the file "..". But the fact is, that it does in bash. > > This is done f

Re: Inconsitent treatment of * (globbing)

2011-01-31 Thread Greg Wooledge
On Sat, Jan 29, 2011 at 12:58:56PM +0100, Pascal Wittmann wrote: > But if I use the expression ".*" in bash, I would expect from the > behaviour of "*", that > ".*" don't include the file "..". But the fact is, that it does in bash. This is done for compatibility with all the other shells. If

Re: Inconsitent treatment of * (globbing)

2011-01-31 Thread Andreas Schwab
Pascal Wittmann writes: > The way that "*" is treated for globbing is not consitent. Normaly a > regular expression "*" > would match all characters, but for the sake of usability it doesn't > include the files > which starts with a dot (dotfiles) and the file "..". ".." is not in any way

Re: libtool 2.4 args parsing incredibly slow

2011-01-31 Thread Dan McGee
On Sat, Jan 29, 2011 at 5:58 PM, Chet Ramey wrote: > On 1/25/11 10:08 PM, Peter O'Gorman wrote: >> Hi, >> >> Dan reported a libtool performance regression in libtool-2.4 when running >> his binaries with a large number of arguments. >> >> Libtool creates a shell script which usually sets some env

Inconsitent treatment of * (globbing)

2011-01-31 Thread Pascal Wittmann
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash

Re: libtool 2.4 args parsing incredibly slow

2011-01-31 Thread Chet Ramey
On 1/30/11 3:50 AM, Ralf Wildenhues wrote: > Hello, > > * Dan McGee wrote on Sun, Jan 30, 2011 at 01:04:17AM CET: >> On Sat, Jan 29, 2011 at 5:58 PM, Chet Ramey wrote: >>> On 1/25/11 10:08 PM, Peter O'Gorman wrote: for lt_wr_arg do case \$lt_wr_arg in --lt-*) ;; >>

Re: Getting rid of "Terminated" message thanks to SIGINT

2011-01-31 Thread Chet Ramey
On 1/31/11 4:57 AM, Marc Herbert wrote: > Le 30/01/2011 00:12, Chet Ramey a écrit : >> Is it a problem? Bash prints messages about signal-terminated processes -- > >> Most people want to know when their jobs die > > ...except when they explicitly kill them. Then maybe the answer is to suppress

Getting rid of "Terminated" message thanks to SIGINT

2011-01-31 Thread Marc Herbert
Le 30/01/2011 00:12, Chet Ramey a écrit : > Is it a problem? Bash prints messages about signal-terminated processes -- > Most people want to know when their jobs die ...except when they explicitly kill them. > at least those that don't die due to SIGINT or SIGPIPE -- when the > shell is not int