Re: make 'tr' (or something like it) a bash builtin ?

2006-02-05 Thread William Park
On Sun, Feb 05, 2006 at 07:02:10PM -0500, Chris F.A. Johnson wrote: > On Sun, 5 Feb 2006, Felipe Kellermann wrote: > > >On Thu, 2 Feb 2006 11:13pm -0500, Mike Frysinger wrote: > > > >>upper case or lower case ... if 'tr' was a bash builtin, then that'd work > >>with some `echo | tr` magic, but it

Re: make 'tr' (or something like it) a bash builtin ?

2006-02-05 Thread Chris F.A. Johnson
On Sun, 5 Feb 2006, Felipe Kellermann wrote: On Thu, 2 Feb 2006 11:13pm -0500, Mike Frysinger wrote: upper case or lower case ... if 'tr' was a bash builtin, then that'd work with some `echo | tr` magic, but it something like ${foo//[[:lower:]]/[[:upper:]]} would be nice -mike typeset -u (k

Re: make 'tr' (or something like it) a bash builtin ?

2006-02-05 Thread Felipe Kellermann
On Thu, 2 Feb 2006 11:13pm -0500, Mike Frysinger wrote: > upper case or lower case ... if 'tr' was a bash builtin, then that'd work > with some `echo | tr` magic, but it something like > ${foo//[[:lower:]]/[[:upper:]]} would be nice > -mike typeset -u (ksh, zsh) supported in bash would be nice

Re: regression with color prompt + utf8

2006-02-05 Thread Chet Ramey
> Bash Version: 3.1 > Patch Level: 5 > Release Status: release > > Description: > Hi, > > I have a nice color prompt: > export PS1=$'\\[\017\E[10;0m\E[1;[EMAIL PROTECTED]:\\w\\$ \\[\E[0m\\]' > and use UTF-8 locales everywhere. > > When the output of a command doesn't end with a newline, I could

Re: problem ? bug ?

2006-02-05 Thread Chet Ramey
Mike Frysinger wrote: > On Sunday 05 February 2006 00:41, Paul Jarc wrote: >> [EMAIL PROTECTED] wrote: >>> [kaneda<-ogorasek]~$if [ ! -a /etc/passwd ] ; then echo si ; fi >> -a is used as a binary "and" operator here. The expressions "!" and >> "/etc/passwd" are nonempty strings, so both are consi

Readline-5.1 official patch 2

2006-02-05 Thread Chet Ramey
READLINE PATCH REPORT = Readline-Release: 5.1 Patch-ID: readline51-002 Bug-Reported-by: Mike Frysinger <[EMAIL PROTECTED]> Bug-Reference-ID: <[EMAIL PROTECTED]> Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash

Bash-3.1 official patch 7

2006-02-05 Thread Chet Ramey
BASH PATCH REPORT = Bash-Release: 3.1 Patch-ID: bash31-007 Bug-Reported-by: Tim Waugh <[EMAIL PROTECTED]>, Laird Breyer <[EMAIL PROTECTED]> Bug-Reference-ID: <[EMAIL PROTECTED]> Bug-Reference-URL: http://lists.gnu.org/arch

Bash-3.1 official patch 6

2006-02-05 Thread Chet Ramey
BASH PATCH REPORT = Bash-Release: 3.1 Patch-ID: bash31-006 Bug-Reported-by: Mike Frysinger <[EMAIL PROTECTED]> Bug-Reference-ID: <[EMAIL PROTECTED]> Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-01/msg