I'm on a Linux terminal and struggling to split a large text file into several smaller files. I'm trying with csplit
, but csplit
demands that the delimiter pattern is passed as a REGEXP. The static delimiter pattern is , lorum ipsum
. How do I write that as a REGEXP? After reading a bit, I would expect /'^, lorum ipsum$'/
to work, but it does not. Could anyone help me with the correct syntax?
Asked
Active
Viewed 40 times
0

Magnus
- 589
- 8
- 26
-
Could you please accept the answer if it worked for you, or, if it didn't, let us know the details. – streetturtle Apr 11 '17 at 13:11
-
I will when I can! I haven't had access to a computer since I posted the question. – Magnus Apr 12 '17 at 17:09
1 Answers
1
You should use /', lorum ipsum'/
, ^
and $
is start and end of the line accordingly, which is not needed in your case.

streetturtle
- 5,472
- 2
- 25
- 43