From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31510 invoked by alias); 23 Apr 2002 17:45:28 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 31485 invoked from network); 23 Apr 2002 17:45:22 -0000 Received: from unknown (HELO darius.concentric.net) (207.155.198.79) by sources.redhat.com with SMTP; 23 Apr 2002 17:45:22 -0000 Received: from mcfeely.concentric.net (mcfeely.concentric.net [207.155.198.83]) by darius.concentric.net [Concentric SMTP Routing 1.0] id g3NHjHP24550 ; Tue, 23 Apr 2002 13:45:18 -0400 (EDT) Received: from Clemens.cris.com (da003d0766.sjc-ca.osd.concentric.net [64.1.2.255]) by mcfeely.concentric.net (8.9.1a) id LAA14722; Tue, 23 Apr 2002 11:46:21 -0400 (EDT) Message-Id: <5.1.0.14.2.20020423084411.00af4638@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com Date: Tue, 23 Apr 2002 11:08:00 -0000 To: cygwin@cygwin.com From: Randall R Schulz Subject: Re: substr Cc: Jim George In-Reply-To: <3CC553EC.4010607@elegant.nl> References: <00d701c1ea8c$d1aea810$23b5fea9@GEORGE.CO.UK> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-SW-Source: 2002-04/txt/msg01307.txt.bz2 Dear Elegant, Please be specific about what program implements the "expr substr" command. The phrase "the command line" is not singly defined on any Unix (or Unix-like) system extant today. In this case, it's TCSH, which is not the default Cygwin shell (BASH is). Randall Schulz Mountain View, CA USA At 05:30 2002-04-23, Gilgamesh Nootebos wrote: >Michael A Chase wrote: >>On Tue, 23 Apr 2002 07:05:06 +0100 Jim George >> 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 ' > >It's crude and OT but I just happened to need it today so I remembered this. > >-- >Gilgamesh Nootebos (Elegant Relational Development) -- 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/