www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/06/23/04:42:27

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <01BEBD5B.351C3FF0.saieww@softwareag.com>
From: william walsh <saieww AT softwareag DOT com>
To: "'Heinz-Jurgen Oertel'" <oe AT port DOT de>
Cc: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: B20 - Getting substring functionality to work
Date: Wed, 23 Jun 1999 09:31:42 +0100
Organization: software-ag
X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211
Mime-Version: 1.0

On Wednesday, June 23, 1999 9:30 AM, Heinz-Jurgen Oertel [SMTP:oe AT port DOT de] 
wrote:
> william walsh wrote:
> >
> > Hello all,
> >
> > I am trying to get substring functionality to work for use within 
GNUMake
> > under WindowsNT. cygwin is B20 with the 16Jan99 updated dll.  The bash
> > reference says:
> >
> [snip]
> > What am I doing wrong?  If I get this to work what happens if I use a
> > negative offset that has an absolute value greater than the length of 
the
> > string and/or of the length value?
> >
> > Regards,
> > William
> >
>
> are you shure using 'bash' ?
> at me it works.
You are correct I was using sh instead of bash and the basic functionality 
works fine.  I still cannot get the negative offset to work.  My 
understanding is a negative offset should count from the end of the string; 
it seems to act like a zero offset.

Thanks.
>
>
>
>   Heinz
>
>
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019