Hi guys,
Just wondering about the regex of my if condition...
in $1 is = /input_data/boeing/747
but why my script doesnt match, is there something wrong with my regex (*boeing*) ?
Just wondering about the regex of my if condition...
in $1 is = /input_data/boeing/747
but why my script doesnt match, is there something wrong with my regex (*boeing*) ?
Code:
#!/bin/ksh
if [ "$1" = *boeing* ]
then
echo "this is boeing data"
else
echo "no way"