printing first word in every line of a txt file unix bash

前端 未结 0 1553
天命终不由人
天命终不由人 2021-02-12 04:15

So I\'m trying to print the first word in each line of a txt file. The words are separated by one blank.

cut -c 1 txt file 

Thats the code I

相关标签:
回答
  • 消灭零回复
提交回复
热议问题