Hi Paul :)
* Paul Eggert <[EMAIL PROTECTED]> dixit:
> You need backslashes in front of the braces, though.
Yes, I knew, thanks :) In any case, the rest of the script won't
work in a non-SUS compliant environment, so strictly speaking this is
not a portability issue. Al
DervishD <[EMAIL PROTECTED]> writes:
> expr substr "x$string" $tmpindex 1
>
> If I need to translate this in a pattern matching expression, I
> must calculate the number of 'dots', because I'm not sure if the
> '{N}' syntax (to match exactly '{N}' times) is portable enough.
You're right t
Hi Paul :)
* Paul Eggert <[EMAIL PROTECTED]> dixit:
> > I would like to know (if you have such information, of course) which
> > 'expr's out there support 'substr' expressions in addition to the
> > GNU coreutils one, of course.
> Sorry, haven't a clue.
Well, thanks anyway :)
> But you
DervishD <[EMAIL PROTECTED]> writes:
> I would like to know (if you have such information, of course) which
> 'expr's out there support 'substr' expressions in addition to the
> GNU coreutils one, of course.
Sorry, haven't a clue. But you shouldn't need substr: you can always
get the equivalent
Hello all :))
I have a portability problem with 'expr'. I have a script that
depends on 'expr', namely in the 'substr' expression, and I've noted
that this expression is not supported in the SUSv3 standard, so I
would like to know (if you have such information, of course) which
'expr's out