From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,b2389682adc48b34,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-02-16 14:35:13 PST From: "Eric Dunn" Newsgroups: comp.unix.tru64 Subject: csplit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: <97Bb8.35591$JZ.3323299@news20.bellglobal.com> Date: Sat, 16 Feb 2002 17:30:26 -0500 NNTP-Posting-Host: 206.47.203.49 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1013898821 206.47.203.49 (Sat, 16 Feb 2002 17:33:41 EST) NNTP-Posting-Date: Sat, 16 Feb 2002 17:33:41 EST Organization: Bell Sympatico Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!torn!webster!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Xref: archiver1.google.com comp.unix.tru64:6800 Hi, I want to split a file into different sections bounded by "border", see file below: file1: ---- border line1 line2 line3 border line4 line5 $ csplit file1 "/border/" {2} Instead breaking file1 into xx00 and xx01 which should contain: xx00: border line1 line2 line3 xx01: border line4 line5 I get the following error msg. Does anyone know why? csplit: 0653-113 /border/ is greater than the current line or the end of the file