From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7416 invoked by alias); 24 Apr 2002 01:07:39 -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 7390 invoked from network); 24 Apr 2002 01:07:33 -0000 Received: from unknown (HELO amsqnmx01.chello.com) (212.83.64.166) by sources.redhat.com with SMTP; 24 Apr 2002 01:07:33 -0000 Received: from qn-213-73-225-61.quicknet.nl ([213.73.225.61]:2312 "EHLO quicknet.nl") by quicknet.nl with ESMTP id ; Tue, 23 Apr 2002 23:23:20 +0200 Message-ID: <3CC5D0BB.1070905@quicknet.nl> Date: Tue, 23 Apr 2002 18:57:00 -0000 From: Gilgamesh Nootebos Reply-To: cygwin@cygwin.com 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: Randall R Schulz , cygwin@cygwin.com Subject: Re: substr References: <00d701c1ea8c$d1aea810$23b5fea9@GEORGE.CO.UK> <5.1.0.14.2.20020423084411.00af4638@pop3.cris.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg01330.txt.bz2 Randall R Schulz wrote: > Dear Elegant, thank you kindly for calling me that, but my real name is Gilgamesh, Elegant is part of my employers name. > > 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. 'usr/bin/expr.exe' is provided by sh-utils ( http://cygwin.com/cgi-bin2/package-cat.cgi?file=sh-utils/sh-utils-2.0-2&grep=expr ) I'm not exactly sure if it is a builtin of tcsh/bash/ksh/ash, but I do know it should be available outside a shell on a system that uses SUSv2 ( http://www.opengroup.org/onlinepubs/007908799/xcu/expr.html ) as a guideline(which Cygwin as a distribution tries to do AFAIK). When I wrote my earlier post I didn't have a web connection but I did double check on a HP-UX ksh terminal that it should work as I thought it would. It even works using from a cmd.exe shell from W2K. Regards, Gilgamesh Nootebos -- Gilgamesh Nootebos @: nootebos@quicknet.nl A great nation is any mob of people which produces at least one honest man a century. -- 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/