[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make 'tr' (or something like it) a bash builtin ?
From: |
Felipe Kellermann |
Subject: |
Re: make 'tr' (or something like it) a bash builtin ? |
Date: |
Sun, 5 Feb 2006 21:18:14 -0200 (BRST) |
User-agent: |
Pine <http://www.washington.edu/pine/> |
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...
orchid% typeset -u fuu
orchid% fuu=bar
orchid% echo $fuu
BAR
--
Felipe Kellermann