I have a text file in the following format:-
$DATA1 SOURCE='HSPICE' VERSION='I-2013.12-SP2-1 32-BIT' .TITLE 'cmos inverter transfer characteristics' index t_r t_f t_rf t_fr t_rr t_ff temper alter# 1 1.361e-11 1.177e-11 8.807e-12 9.063e-12 2.002e-08 2.002e-08 2.500e+01 1 2 1.339e-11 1.178e-11 8.805e-12 8.867e-12 2.002e-08 2.002e-08 2.500e+01 1 3 1.334e-11 1.177e-11 8.811e-12 8.824e-12 2.002e-08 2.002e-08 2.500e+01 1 . . . 1000 1.339e-11 1.178e-11 8.805e-12 8.867e-12 2.002e-08 2.002e-08 2.500e+01 1
I wish to remove first 5 lines and extract the 9 numerical values from set of three lines, all in 9 different output files using awk command.
example of output file is:-
File1.txt
1 2 3 . . 1000
file2.txt
1.361e-11 1.339e-11 1.334e-11 . . . 1.339e-11
same for all the nine elements in a set of three lines.