I have this variable:
A="Some variable has value abc.123"
I need to extract this value i.e abc.123. Is this possible i
abc.123
Yes; this:
A="Some variable has value abc.123" echo "${A##* }"
will print this:
(The ${parameter##word} notation is explained in §3.5.3 "Shell Parameter Expansion" of the Bash Reference Manual.)
${parameter##word}