I have one file as bellow and I want to format it as the result shown below, please I need your help. Thanks in advance. The file is so huge.
File:
X 1846 211L 33599.00 51209.001 1 4321
X 1846 211L 33599.00 51209.001 433 8641
X 1846 211L 33599.00 51209.001 865 12961
X 1846 211L 33599.00 51209.001 1297 17281
X 1846 221L 34031.00 52085.002 1 2211
X 1846 221L 34031.00 52085.002 222 4421
X 1846 221L 34031.00 52085.002 443 6631
X 1846 221L 34031.00 52085.002 664 8841
.....
X 1846 1001L 34023.00 51785.002 1 3711
X 1846 1001L 34023.00 51785.002 372 7421
X 1846 1001L 34023.00 51785.002 743 11131
X 1846 1001L 34023.00 51785.002 1114 14841
....
X 1846 9991L 34027.00 51353.002 1 4321
X 1846 9991L 34027.00 51353.002 433 8641
X 1846 9991L 34027.00 51353.002 865 12961
X 1846 9991L 34027.00 51353.002 1297 17281
X 1846 10001L 33593.00 51053.001 1 4321
X 1846 10001L 33593.00 51053.001 433 8641
X 1846 10001L 33593.00 51053.001 865 12961
X 1846 10001L 33593.00 51053.001 1297 17281
.....
Result:
1846 21 33599 51209
1846 22 34031 52085
...
1846 100 34023 51785
...
1846 999 34027 51353
1846 1000 33593 51053
...
I want for 21 for example two space before 21 to let this 1 be in the same column as the 0 in 1000:
21
1000
thanks in advance.