Home > OS >  How to adjust the length of the shell variables
How to adjust the length of the shell variables

Time:11-19

Such as a variable a=hdgdkskakakhh567xhdnch, how take out 567, inside the shell script, rather than a=567 this form

CodePudding user response:

String!

CodePudding user response:

reference 1st floor mouse_zhu response:
string
o

String segmentation is what? The ${NAME#/*/} this?

CodePudding user response:

Yeah, not so

CodePudding user response:

reference mouse_zhu reply: 3/f
yeah, so no

So no, I tried, the path is useful

CodePudding user response:

A//${} [a-z]
  • Related