30
rated 0 times
[
30]
[
0]
/ answers: 1 / hits: 213448
/ 2 Years ago, wed, october 5, 2022, 9:14:00
I want to see if a string is inside a portion of another string.
e.g.:
'ab' in 'abc' -> true
'ab' in 'bcd' -> false
How can I do this in a conditional of a bash script?
More From » command-line