1
rated 0 times
[
1]
[
0]
/ answers: 1 / hits: 683
/ 1 Year ago, sun, january 8, 2023, 1:19:39
I want just know how to extract the value from the variable in shell script.
following is the code:
var=Volume: 0: 100% 1: 100%
or
var=Volume: 0: 35% 1: 35%
I want to extract 100 or 35 depends value from the variable and store it into another variable.
so how can i do this?
More From » command-line