Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ Path: not-for-mail From: Chris Game Newsgroups: gmane.os.cygwin Subject: Re: s2p tool Date: Mon, 20 May 2002 12:29:55 +0100 Organization: . Lines: 23 Message-ID: References: <29952915139 DOT 20020520121633 AT familiehaase DOT de> NNTP-Posting-Host: m215-mp1-cvx1c.lee.ntl.com X-Trace: main.gmane.org 1021894141 24417 62.252.236.215 (20 May 2002 11:29:01 GMT) X-Complaints-To: usenet AT main DOT gmane DOT org NNTP-Posting-Date: Mon, 20 May 2002 11:29:01 +0000 (UTC) X-Newsreader: MicroPlanet Gravity v2.30 In an earlier post, Gerrit P. Haase said... > Hallo Chris, > > Am Montag, 20. Mai 2002 um 11:47 schriebst du: > > > Anyone know why the s2p tool in Cygwin seems to demand brackets '(' > > around substitution lines in a sed script? What form of script does > > it expect? Using echo and piping one-liners at the tool works but it > > doesn't seem to like script files much. > > Can you please post a small example/testcase of this 'bug'? On further investigation there are two things going on. First the error message was overwriting itself onto one line, so sticking a \n into the s2p script solved that annoyance. Then after further fiddling I realised that setting the fileformat=unix rather than dos (in vim) solved the problem. The script wasn't apparently built for cross platform work! Thanks for the prompt response. C. -- 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/