Search results

  1. H

    csplit: detecting pattern in a line

    I have a file that looks something like this: CBA ABC line 1 line 2 DFCF ABC line 1 line 2 I want to split the file into two separate files that look like this: File 1 CBA ABC line 1 line 2 File 2 DFCF ABC line 1 line 2 I'm using the following code: for filename in *.txt; gcsplit -z -f...
Top