Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!sgi!davea@quasar.wpd.sgi.com From: davea@quasar.wpd.sgi.com (David B.Anderson) Newsgroups: comp.sys.sgi Subject: Re: Problem with csplit ..... Message-ID: <70823@sgi.sgi.com> Date: 1 Oct 90 23:25:33 GMT References: <218*finn.drablos@sintef.no> Sender: guest@sgi.sgi.com Reply-To: davea@quasar.UUCP (David B.Anderson) Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 12 In article <218*finn.drablos@sintef.no> finn.drablos@sintef.no (Finn Drablos) writes: [stuff deleted] >csplit -k source.src /BEGIN/ {40} [stuff deleted] >lines. It does not use the pattern 40 times. I have tried /BEGIN/{40}, csh strips the {}. Use: csplit -k source.src /BEGIN/ \{40\} Regards, [ David B. Anderson Silicon Graphics (415)335-1548 davea@sgi.com ] [``What can go wrong?'' --Calvin and Hobbes]