This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: substr
Michael A Chase wrote:
> On Tue, 23 Apr 2002 07:05:06 +0100 Jim George <jim.george@blueyonder.co.uk> wrote:
>
>
>> can someone tell me which package provides the substr command line
>>routine?
>
> In this case, you probably want sed, gawk, or Perl, there is no UNIX
> command 'substr'.
from the commandline you can use 'expr substr <string> <begin> <length>'
it's crude and OT but I just happened to need it today so I remembered this.
--
Gilgamesh Nootebos (Elegant Relational Development)
@: Gilgamesh.Nootebos@elegant.nl
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/