Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash cut delimiter last field

echo 'maps.google.com' | rev | cut -d'.' -f 1 | rev
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bash #cut #delimiter #field
ADD COMMENT
Topic
Name
8+8 =