I have two large files .one file contains 0-12 Hrs of data and other contain 13-23 hours of data . I want to merge it in a single file with 23-0 hours for each combination.
ex :
file1
abcdefg00
abcdefg01
abcdefg02
---------
---------
abcdefg12
pqrstuv00
---------
---------
file2 :
abcdefg13
abcdefg14
---------
---------
abcdefg23
pqrstuv13
---------
---------
Is there any way that i can merge like this . output should be like below
> abcdefg00
> abcdefg01
> abcdefg02
> ---------
> ---------
> abcdefg12
> abcdefg13
> abcdefg14
> ---------
> ---------
> abcdefg23
> pqrstuv00
> ---------
> ---------
> pqrstuv13
> ---------
> ---------
> pqrstuv23
Thanks in adavance