I have a file which looks like this
@
0 60
0 60
0 1
0 1
0 3
0 0
@
0 0
0 0
0 0
0 0
@
.
.
.
@
and from this I want to create file1 with the values/rows from the first @ to the second @ and then a next file2 with the values/rows from the second @ to the third @ so the file 1 should have the following output
0 60
0 60
0 1
0 1
0 3
0 0
file 2 should have the following output
0 0
0 0
0 0
0 0