1

How to read the first work of each line from text file?

view story
linux-howto

http://www.unix.com – Hi ppl. I want to read the first word of each line of a text file to a variable in a bash script. Can anyone help pls, thanks. (HowTos)