Skip to content
Advertisement

Tag: csplit

Trouble passing static string as REGEXP with csplit

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

Advertisement