# the string is dot separated. a=1a.2b.3c.4d.5e.6f # split it and prints 6th column echo $a | cut -d'.' -f6 # prints 6f
No comments:
Post a Comment