Bruce Dubbs wrote these words on 04/25/06 07:44 CST: > Interesting construct. I was confused at first by the \1 in the > replacement until I realized the parens were unbalanced in the pattern. > Since the text we are looking for is at the end of the line, I wonder > why you just didn't use:
I'm embarrassed. :-) I made it more difficult than it should be. Not sure why I made it so complicated. Even though you say not to change it, I'm going to anyway, as my sed is simply too ugly. Thanks for pointing this out. -- Randy rmlscsi: [bogomips 1003.28] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3] [GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686] 08:17:01 up 30 days, 19:54, 1 user, load average: 0.09, 0.11, 0.09 -- http://linuxfromscratch.org/mailman/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
