I have to write a shell script to get value from a string .. something like that :
string="abcdef" pathName
How can I use "grep" command with the use of regular expression to get "pathName" ? Thank you
|
I have to write a shell script to get value from a string .. something like that :
How can I use "grep" command with the use of regular expression to get "pathName" ? Thank you |
||||
|
|
GNU grep has the
will output "pathName". Update with more info on the required pattern:
Here |
|||||||||
|