substr

Gilgamesh Nootebos Gilgamesh.Nootebos@elegant.nl
Tue Apr 23 06:46:00 GMT 2002


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/



More information about the Cygwin mailing list