Partial String Matching In Bash Scripts
To compare two strings in a bash script, you will have a snippet of code similar to the following:
You may only want to do a partial string match. For this, you can use the *
wildcard symbol.
Last updated
To compare two strings in a bash script, you will have a snippet of code similar to the following:
You may only want to do a partial string match. For this, you can use the *
wildcard symbol.
Last updated