> > > But i did just try the -r with that and
> > > sed "s/\([A-Z_]*\)\([ \t]*\)//" $file
> > > sed -r "s/\([A-Z_]*\)\([ \t]*\)//" $file
> > > give much different results
> >
> > Yeah, one of the big differences between extended and basic POSIX
syntax
> > is that to match 0 or more 'a's in extended syntax is 'a*' whereas in
> > basic syntax it's 'a\*'.
>
> ok.  but then why did the basic syntax do what I wanted and not the
> extended?

because i'm stupid sometimes and didn't take th \'s off of the ()'s in the
extended ones.

ignore that question. :)

-greg

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to