Print First Word Of Each Line By Grep

[Solved] Print First Word Of Each Line By Grep | Perl - Code Explorer | yomemimo.com
Question : print first word of each line by grep

Answered by : wild-wasp-uttguxoewme3

cut -d' ' -f1 filename 

Source : https://stackoverflow.com/questions/19145419/printing-first-word-in-every-line-of-a-txt-file-unix-bash | Last Update : Fri, 19 Nov 21

Answers related to print first word of each line by grep

Code Explorer Popular Question For Perl