Thread
:
[Linux bash] Why is this not working?
View Single Post
JosefA
2010-03-11 , 16:46
Posts: 71 | Thanked: 54 times | Joined on Oct 2009
#
6
PHP Code:
#!/bin/bash
my
=
"abcd"
if [[
$my
= *
bc
* ]]
then
echo
"Ok"
else
echo
"Not ok"
fi
__________________
$HOME
- On special days, this sig will contain a hidden Andalusian Video Snail. Today is not such a day.
Quote & Reply
|
JosefA
View Public Profile
Send a private message to JosefA
Visit JosefA's homepage!
Find all posts by JosefA