Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <006f01c1eb00$55c86b90$23b5fea9@GEORGE.CO.UK>
From: "Jim George" <jim.george@blueyonder.co.uk>
To: "Cygwin" <cygwin@cygwin.com>
References: <00d701c1ea8c$d1aea810$23b5fea9@GEORGE.CO.UK> <E16ztmS-0000dA-00@barry.mail.mindspring.net> <3CC553EC.4010607@elegant.nl>
Subject: Re: substr
Date: Tue, 23 Apr 2002 20:52:00 +0100
Organization: JSDM Services Ltd
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700

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/

