Bug 217720

Summary: "u" inside a sed substution does not work
Product: Red Hat Enterprise Linux 4 Reporter: John Curcio <j.curcio3>
Component: sedAssignee: Petr Machata <pmachata>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: mnewsome
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2008-0202 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-09 16:10:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Fix for RHEL-4
none
Test case. none

Description John Curcio 2006-11-29 16:00:10 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7

Description of problem:
Executing => /bin/echo dsyn | /bin/sed -e 's/[a-z]/\u&/g' does not give proper results ... ie, it only results in a blank carriage return instead of having the imput characters translated to upper case

Version-Release number of selected component (if applicable):
sed-4.1.2-4 & sed-4.1.2-5-EL4

How reproducible:
Always


Steps to Reproduce:
1./bin/echo dsyn | /bin/sed -e 's/[a-z]/\u&/g'
2.
3.

Actual Results:
Executing this command gives me no results ... just a blank carrage return.

Expected Results:
I should have the charcaters "dsyn" translated to upper case.

Additional info:
While not a bug that crashes our system, this does effect our production environment rather significantly and is rather time sensitive.

Comment 1 Petr Machata 2006-12-12 13:42:12 UTC
Created attachment 143388 [details]
Fix for RHEL-4

This patch is backport from 4.1.3.

Comment 2 Petr Machata 2006-12-12 13:42:54 UTC
Created attachment 143389 [details]
Test case.

Comment 9 errata-xmlrpc 2008-04-09 16:10:30 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0202.html