Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash get field from line

echo 'The Code Doctor' | awk '{print $2}'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bash #field #line
ADD COMMENT
Topic
Name
9+3 =