On Tue, 9 Nov 1999, Vlad Harchev wrote:
> On Mon, 8 Nov 1999, Philip Webb wrote:
>
> > 991108 Klaus Weide suggested:
> > > Try these 2 simple variants, at least, before you give up on it:
> >
> > neither works even with further simplification: i think it needs awk.
> > as i said, i'm not interested in practising sed/awk at the moment.
>
> Why don't compile another sed (the same version Klaus is using)?
> This won't require any efforts on script debugging.
ANother point:
According to Single Unix Specification, sed must accept only BREs (basic
regular expressions). \? belongs to extended regular expressions. Philip, try
substituting \? with \{0,1\} in the Klaus' scripts - seems this can make them
working with you current sed (but better get other sed).
> >[...]
>
> Best regards,
> -Vlad
>
>
Best regards,
-Vlad