I have strings that look like this:
user@pc: $ example="bla bla bla (m=100, number of steps=1.05)"
How can I read the values 100 and 1.05 into two variables that I can use them afterwards?
user@pc: $ echo $A
100
user@pc: $ echo $B
1.05
I have strings that look like this:
user@pc: $ example="bla bla bla (m=100, number of steps=1.05)"
How can I read the values 100 and 1.05 into two variables that I can use them afterwards?
user@pc: $ echo $A
100
user@pc: $ echo $B
1.05