Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "Eric Dunn" <ericd_@hotmail.com>
Subject: csplit
Date: Sat, 16 Feb 2002 17:30:26 -0500	[thread overview]
Message-ID: <97Bb8.35591$JZ.3323299@news20.bellglobal.com> (raw)

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






                 reply	other threads:[~2002-02-16 22:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox