bash programming problem on string# Unix - 噫吁兮,危乎高哉
s*n
1 楼
Hi, I want to find out where a string contains another string, for example,
whether "asdfsdxyx1234" contains "xyx1". How can I do that by bash shell
script? I tried expr match and expr index but could not figure it out.
Thanks.
whether "asdfsdxyx1234" contains "xyx1". How can I do that by bash shell
script? I tried expr match and expr index but could not figure it out.
Thanks.