tags:

views:

28

answers:

1

hi all

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_FROM_FILE=" file dir Validation 1283474"
A: 

The problem is on my Linux machine Maybe ksh version not higher enough , on other update Linux machine is work file lidia

lidia
What does `ksh --version` give you on each machine?
Dennis Williamson