Re: set -x prejudiced; won't smell UTF-8 coffee

2009-04-08 Thread jidanni
> locale variables have pretty clear definitions. obviously LC_COLLATE wouldnt > be relevant here, but LC_MESSAGES certainly would. Assumptions, assumptions, those happen to be the two C's for me. So let me override without having to tamper with them please.

Re: set -x prejudiced; won't smell UTF-8 coffee

2009-04-08 Thread Mike Frysinger
On Wednesday 08 April 2009 03:04:15 jida...@jidanni.org wrote: > > locale variables have pretty clear definitions. obviously LC_COLLATE > > wouldnt be relevant here, but LC_MESSAGES certainly would. > > Assumptions, assumptions, those happen to be the two C's for me. So let > me override without h

Re: Misleading syntax in manual

2009-04-08 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Reuben Thomas on 4/6/2009 3:57 PM: > The man page says: > > for name [ in word ] ; do list ; done > > which conflicts with the POSIX syntax definition, given in > > http://www.opengroup.org/onlinepubs/95399/utilities/xcu_chap02.html

Re: Bash 4 cursor in my prompt

2009-04-08 Thread Greg Wooledge
On Tue, Apr 07, 2009 at 11:04:58PM -0700, Special Sauce wrote: > > [an...@nobby-nobbs ~]$ echo $PS1 > [\[\e[28;1m\...@\h\[ \e[0m\]\w]$ ^^^ The space after \[ is not correct. You're sending a space to the terminal (or possibly more than one space -- since you didn't quote "$PS1

Re: Misleading syntax in manual

2009-04-08 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 4/8/2009 6:10 AM: > The corresponding link in POSIX 2008 is: > > http://www.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_04 > > although the expository listing in that section is misleading. I spo

str1 < str2 does not respect locale

2009-04-08 Thread wooledg
Configuration Information [Automatically generated, do not change]: Machine: hppa2.0 OS: hpux10.20 Compiler: /net/appl/gcc-3.3/bin/gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='hppa2.0' -DCONF_OSTYPE='hpux10.20' -DCONF_MACHTYPE='hppa2.0-hp-hpux10.20' -DCONF_VENDOR='hp' -DLOCALEDIR='/

Re: Misleading syntax in manual

2009-04-08 Thread Chet Ramey
Eric Blake wrote: > You missed word... (the ... is important). To keep it on one line, I'd > represent the bash syntax as: > > for name [ in [ name ... ] ; | ; ] do > > to show that bash supports four varints: 'in ;', 'in name... ;', ';', or > blank. I prefer for name [ [in [word ...] ] ; ] d

Re: str1 < str2 does not respect locale

2009-04-08 Thread Chet Ramey
> Configuration Information [Automatically generated, do not change]: > Machine: hppa2.0 > OS: hpux10.20 > Compiler: /net/appl/gcc-3.3/bin/gcc > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='hppa2.0' > -DCONF_OSTYPE='hpux10.20' -DCONF_MACHTYPE='hppa2.0-hp-hpux10.20' > -DCONF_VENDOR='hp'

Re: Misleading syntax in manual

2009-04-08 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Chet Ramey on 4/8/2009 6:44 AM: > I prefer > > for name [ [in [word ...] ] ; ] do Yes, that looks nice. Meanwhile, I've raised the html render bug with the Austin group: https://www.opengroup.org/sophocles/show_mail.tpl?CALLER=index.tpl

Re: Bash 4 cursor in my prompt

2009-04-08 Thread Special Sauce
On Apr 8, 7:16 am, Greg Wooledge wrote: > On Tue, Apr 07, 2009 at 11:04:58PM -0700, Special Sauce wrote: > > > [an...@nobby-nobbs ~]$ echo $PS1 > > [\[\e[28;1m\...@\h\[ \e[0m\]\w]$ > >                     ^^^ > The space after \[ is not correct.  You're sending a space to the terminal > (or possib

Re: Bash 4 cursor in my prompt

2009-04-08 Thread Special Sauce
On Apr 8, 7:16 am, Greg Wooledge wrote: > On Tue, Apr 07, 2009 at 11:04:58PM -0700, Special Sauce wrote: > > > [an...@nobby-nobbs ~]$ echo $PS1 > > [\[\e[28;1m\...@\h\[ \e[0m\]\w]$ > >                     ^^^ > The space after \[ is not correct.  You're sending a space to the terminal > (or possib

Re: Bash 4 cursor in my prompt

2009-04-08 Thread Special Sauce
On Apr 8, 1:52 am, Mike Frysinger wrote: > and what `locale` settings you're using > -mike > >  signature.asc > < 1KViewDownload @Mike What do you mean by locale?

Re: str1 < str2 does not respect locale

2009-04-08 Thread Stephane CHAZELAS
2009-04-8, 08:35(-04), Chet Ramey: >> Configuration Information [Automatically generated, do not change]: >> Machine: hppa2.0 >> OS: hpux10.20 >> Compiler: /net/appl/gcc-3.3/bin/gcc >> Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='hppa2.0' >> -DCONF_OSTYPE='hpux10.20' -DCONF_MACHTYPE='hpp

Re: set -x prejudiced; won't smell UTF-8 coffee

2009-04-08 Thread jidanni
Mike Frysinger writes: > i never said you couldnt override them. i said the *default behavior* would OK, it's a deal. Now all that's left is for that Chet guy to implement it :-)

Re: Bash 4 cursor in my prompt

2009-04-08 Thread Mike Frysinger
On Wednesday 08 April 2009 10:49:06 Special Sauce wrote: > On Apr 8, 1:52 am, Mike Frysinger wrote: > > and what `locale` settings you're using > > @Mike What do you mean by locale? run `locale` and post the output -mike signature.asc Description: This is a digitally signed message part.

Re: str1 < str2 does not respect locale

2009-04-08 Thread Mike Frysinger
On Wednesday 08 April 2009 08:35:53 Chet Ramey wrote: > > Configuration Information [Automatically generated, do not change]: > > Machine: hppa2.0 > > OS: hpux10.20 > > Compiler: /net/appl/gcc-3.3/bin/gcc > > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='hppa2.0' > > -DCONF_OSTYPE='hpux10.

Re: Bash 4 cursor in my prompt

2009-04-08 Thread Special Sauce
On Apr 8, 4:42 pm, Mike Frysinger wrote: > On Wednesday 08 April 2009 10:49:06 Special Sauce wrote: > > > On Apr 8, 1:52 am, Mike Frysinger wrote: > > > and what `locale` settings you're using > > > @Mike What do you mean by locale? > > run `locale` and post the output > -mike > >  signature.asc

idea: statically-linked "busy-bash"

2009-04-08 Thread Richard Neill
Dear All, Here's an idea that occurred to me. I'm not sure whether it's a great idea, or a really really stupid one, so please feel free to shoot it down. Anyway, there are an awful lot of shell scripts where a huge number of the coreutils get repeatedly called in separate processes. This cal