I need to breakup a file into two separate files based on a particular line for example:
.
.
sc_outfifo 0.000E+00 0.000E+00 0.000E+00 0.000E+00 1.586E-02 1.586E-02 1.586E-02
Fub_Level_DACGE(%) PS0_SI.0 PS0_SI.0 PS0_SI.0 PS1_SI.0 PS1_SI.0
siunit 98.91 98.81 98.91 90.06 96.37 81.37 81.37 16655
.
.
So all the lines above Fub_Level_DACGE(%)
goes in one file and the rest including Fub_Level_DACGE(%)
goes in another file. Any idea how it can be done?