我有下一个文件:
Ca 1
1 -5.338208778 -0.000000000 -15.624910016
Ca 2
2 -2.262452484 -2.494999886 -12.589102506
Ca 3
3 -8.095800400 -2.494999886 5.624757806
Ca 4
4 -7.282658184 -0.000000000 -9.553623225
Ca 5
5 -4.206901709 -2.494999886 -6.517815410
Ca 6
6 -1.131307069 0.000000000 -3.482008572
Ca 7
7 -6.151351054 -2.494999886 -0.446529291
Ca 8
8 -3.075756535 0.000000000 2.589278525
.. .. .. ... .. .. ..
我想删除偶数行的第一个字段(数字)。我试过awk
,但我找不到解决方案......
非常感谢提前。 GIT中。
修改
输出应该是:
Ca 1
-5.338208778 -0.000000000 -15.624910016
Ca 2
-2.262452484 -2.494999886 -12.589102506
Ca 3
-8.095800400 -2.494999886 5.624757806
Ca 4
-7.282658184 -0.000000000 -9.553623225
Ca 5
-4.206901709 -2.494999886 -6.517815410
Ca 6
-1.131307069 0.000000000 -3.482008572
Ca 7
-6.151351054 -2.494999886 -0.446529291
Ca 8
-3.075756535 0.000000000 2.589278525
.. .. .. ... .. .. ..