linux文件想把版本号(.rc前面的)重复的那些行去掉,比如以下的moa-v1.2.5.rc3 2020-10-29T11:21:17.2980801Z和
moa-v1.2.5.rc1 2020-10-28T11:22:31.961802331Z
请问有什么shell语句?
moa-v1.2.5.rc4 2020-10-30T06:20:13.498138721Z
moa-v1.2.5.rc3 2020-10-29T11:21:17.2980801Z
moa-v1.2.5.rc1 2020-10-28T11:22:31.961802331Z
moa-v1.2.4.rc6 2020-09-24T08:45:07.70592415Z
moa-v1.2.3.rc3 2020-09-11T08:42:11.231153248Z
moa-v1.2.2.rc4 2020-08-06T10:47:44.212571785Z
moa-v1.2.1.rc10 2020-07-23T13:49:12.842933406Z