I have a bunch of lines in a file that look like this
word_word_word 0 word_word
word_word_word 1 wordwordword
word word word word 0 word word word word
word 2 word_word_word word word
word word_word 3 word
I want to cat the file and get an output that looks like this:
word_word_word 0
word_word_word 1
etc...
How to I cut/awk/or whatever the line and display everything from the first byte through the first single-digit number?
Thanks!
man
pages forgrep
? – bu5hman Nov 08 '19 at 21:31word555 word222 word 0 foo bar
? – jesse_b Nov 08 '19 at 21:33