bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Portability issue


From: Paul Eggert
Subject: Re: Portability issue
Date: Sat, 07 Aug 2004 20:50:35 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

DervishD <address@hidden> 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 by using pattern matching.  E.g., instead of this:

expr substr "X$string" 3 5

you use this:

expr "X$string" : 'X.\(.....\)'




reply via email to

[Prev in Thread] Current Thread [Next in Thread]