Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* csplit
@ 2002-02-16 22:30 Eric Dunn
  0 siblings, 0 replies; only message in thread
From: Eric Dunn @ 2002-02-16 22:30 UTC (permalink / 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






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-02-16 22:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-16 22:30 csplit Eric Dunn

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