 |
How to split one string into multiple variables in bash shell ...
2012年5月9日 - and I would like to split that into 2 variables, while eliminating the "-". ... See my edited answer for one way to read individual characters into an array. .... Just change last two lines to myvar1= echo $1 && myvar2= echo ...
stackoverflow.com |
 |