Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com Message-Id: <4.3.1.2.20020402111635.02674130@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com Date: Tue, 02 Apr 2002 11:18:06 -0500 To: Earnie Boyd , Earnie Boyd From: "Larry Hall (RFK Partners, Inc)" Subject: Re: Interesting pipe feature. In-Reply-To: <3CA9D591.760A1D1C@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 11:00 AM 4/2/2002, Earnie Boyd wrote: >The command > `echo $COMSPEC | sed -e 's#\\#/#g#'` >works great on NT4 - SP6. However, on NT4 - SP5 and on XPh (XP for >home) it issues something similar to > bash.exe: C:\WINNT\system32\cmd.exe: command not found. > >Any insight on this problem? In bash on W2K, this gives me: sed: -e expression #1, char 9: Unknown option to 's' I had to remove the final '#' after the 'g' to get this to work right. Was that a typo Earnie or is that part of the problem you're seeing? Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX