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: | <5.1.0.14.2.20020423201227.02775cb0@pop3.cris.com> |
X-Sender: | rrschulz AT pop3 DOT cris DOT com |
Date: | Tue, 23 Apr 2002 20:13:36 -0700 |
To: | cygwin AT cygwin DOT com |
From: | Randall R Schulz <rrschulz AT cris DOT com> |
Subject: | Re: substr |
In-Reply-To: | <3CC5D0BB.1070905@quicknet.nl> |
References: | <00d701c1ea8c$d1aea810$23b5fea9 AT GEORGE DOT CO DOT UK> |
<E16ztmS-0000dA-00 AT barry DOT mail DOT mindspring DOT net> | |
<5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020423084411 DOT 00af4638 AT pop3 DOT cris DOT com> | |
Mime-Version: | 1.0 |
Gilgamesh, Two mistakes on my part: 1) Your name--I'm sorry about that 2) Assuming that "expr" is a shell built-in. It's not. Randall Schulz Mountain View, CA USA At 14:23 2002-04-23, you wrote: >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 -- 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 |