Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

awk split on comma

$ echo "12:23:11" | awk '{split($0,a,":"); print a[3]; print a[2]; print a[1]}'
Source by www.poftut.com #
 
PREVIOUS NEXT
Tagged: #awk #split #comma
ADD COMMENT
Topic
Name
7+2 =