Converting to uppercase/lowercase in sed

Randal Schwartz merlyn at iwarp.intel.com
Sat Aug 18 07:18:42 AEST 1990


In article <7331 at star.cs.vu.nl>, maart at cs (Maarten Litmaath) writes:
| )yeah, the not very well documented "y" command.
| )
| )	y/a-z/A-Z/
| 
| Doesn't work on SunOS 4.0.3c and a whole lotta other UNIX versions.  :-(
| 
| 	y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/
| 
| POSIX had better fix this...

Hmm, it would have worked *after* being fed through the sed-to-Perl
translator... :-)

Shows you how much *I've* used that in sed.

Just another (former) sed hacker,
-- 
/=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ==========\
| on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III      |
| merlyn at iwarp.intel.com ...!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn |
\=Cute Quote: "Welcome to Portland, Oregon, home of the California Raisins!"=/



More information about the Comp.unix.questions mailing list