Does anyone know the bash construct where you specify the delimeter and you get in two variables ( $@ or $! or something like that I think ) the values?
For example:
–option=false should be specified with ‘=’ delimeter and in one variable there will be the word ‘option’ whereas in the other variable the word ‘false’ is stored. Anyone know?
P.S.: No sed, awk or IFS solutions please. I am aware of them but I am requesting the specific bash construct 🙂
As found in the Bash man page, you can use Parameter Expansion to solve your problems.