Bug 129702

Summary: sed error message miscounts substitution groups
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Martin Vidner <mvidner>
Component: BasesystemAssignee: Mads Martin Joergensen <mmj>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: i586   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Martin Vidner 2005-10-20 13:28:44 UTC
kaname:~ # echo foo | LANG=C sed -e 's/fo\(o\)/\2/' 
sed: -e expression #1, char 13: invalid reference \3 on `s' command's RHS 
kaname:~ # rpm -q sed 
sed-4.1.4-5 
 
it should say invalid reference \2
Comment 1 Mads Martin Joergensen 2005-10-25 09:01:57 UTC
Upstream maintainer told me it's fixed upstream. So we'll get the fix with the
next sed version, and thus I wont fix it.