delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <3CC553EC.4010607@elegant.nl> |
Date: | Tue, 23 Apr 2002 14:30:36 +0200 |
From: | Gilgamesh Nootebos <Gilgamesh DOT Nootebos AT elegant DOT nl> |
Reply-To: | Cygwin <cygwin AT cygwin DOT com> |
Organization: | The Elegant Group |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc1) Gecko/20020417 |
X-Accept-Language: | nl, en-us |
MIME-Version: | 1.0 |
To: | Cygwin <cygwin AT cygwin DOT com> |
CC: | Jim George <jim DOT george AT blueyonder DOT co DOT uk> |
Subject: | Re: substr |
References: | <00d701c1ea8c$d1aea810$23b5fea9 AT GEORGE DOT CO DOT UK> <E16ztmS-0000dA-00 AT barry DOT mail DOT mindspring DOT net> |
Michael A Chase wrote: > On Tue, 23 Apr 2002 07:05:06 +0100 Jim George <jim DOT george AT blueyonder DOT co DOT 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 DOT Nootebos AT elegant DOT 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |