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

前端 未结 0 1456
旧时难觅i
旧时难觅i 2021-02-12 04:31

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

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