This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: substr


Thanks very much for this.

Jim

----- Original Message -----
From: "Gilgamesh Nootebos" <Gilgamesh.Nootebos@elegant.nl>
To: "Cygwin" <cygwin@cygwin.com>
Cc: "Jim George" <jim.george@blueyonder.co.uk>
Sent: Tuesday, April 23, 2002 1:30 PM
Subject: 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]