Subject: Re: substr
From: Gilgamesh Nootebos <[email-masked]>
To: Cygwin <[email-masked]>
Cc: Jim George <[email-masked]>
Date: Tue, 23 Apr 2002 14:30:36 +0200

Michael A Chase wrote:
> On Tue, 23 Apr 2002 07:05:06 +0100 Jim George <[email-masked]> 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)
@: [email-masked]

--
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/