Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

space as delimiter in cut command

# taking the 2nd value (after space character)
awk '{print $2}'
or
tr -s ' ' | cut -d ' ' -f 2
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #space #delimiter #cut #command
ADD COMMENT
Topic
Name
4+5 =