I have a text file contaning the following:
The separator is
How can I split the containt into multiple file as follow using a bash command?
File 1 :
File 2 :
I came into examples using
awk but they does not cover this text layout.