hello
I'm writing a bash script and I have the following line:
word5 word1 (word3) `word2' word4 [string2]
I want to save in a variable everything that is between []
And then in a second variable everything that is between `'
how can I do that?
Thanks in advance



1Likes
LinkBack URL
About LinkBacks



