Remove all text before colon

后端 未结 9 1194
天命终不由人
天命终不由人 2020-11-27 12:45

I have a file containing a certain number of lines. Each line looks like this:

TF_list_to_test10004/Nus_k0.345_t0.1_         


        
9条回答
  •  一向
    一向 (楼主)
    2020-11-27 13:49

    If you have GNU coreutils available use cut:

    cut -d: -f2 infile
    

提交回复
热议问题