1
2
3
4
`if `[`$var`` ``=`` ``*pattern1*`]
`then`
` echo "Do something"`
`fi`
find-a-pattern-in-a-string
This post is licensed under CC BY 4.0 by the author.
1
2
3
4
`if `[`$var`` ``=`` ``*pattern1*`]
`then`
` echo "Do something"`
`fi`
A new version of content is available.