Thread
:
[Linux bash] Why is this not working?
View Single Post
lma
2010-03-11 , 20:03
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#
22
Originally Posted by
eitama
The thing that is not working is the * (asterisks).
Try a pattern matching expression, like this:
Code:
if [ "${my#*bc}" != "$my" ]
Quote & Reply
|
lma
View Public Profile
Send a private message to lma
Find all posts by lma