Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

print first word of each line by grep

cut -d' ' -f1 filename 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #word #line #grep
ADD COMMENT
Topic
Name
5+4 =