fit syntax from bash to ksh
the following syntax work in bash but bot work on ksh script
[[ " $LINE_FROM_FILE " == *[![:alnum:]]Validation[![:alnum:]]* ]] && print "find Validation word"
can someone have idea how to change the syntax in order to fit also ksh script
remark: the target of this syntax to verify if Validation word exist in $LINE_FROM_FILE
example: LINE开发者_JAVA百科_FROM_FILE=" file dir Validation 1283474"
The problem is on my Linux machine Maybe ksh version not higher enough , on other update Linux machine is work file lidia
精彩评论