bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Mike Frysinger
Subject: make 'tr' (or something like it) a bash builtin ?
Date: Thu, 2 Feb 2006 23:13:38 -0500
User-agent: KMail/1.9.1

if i'm simply unaware of such bash features, please feel free to yell at me :)

when working on misc bash scripts, i semi-frequently find the need to do some 
sort of string processing along the lines of say changing a string to all 
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]