Heres the description of my issue, I have a while loop that takes values from a file
while read table
do
    schema="$(echo $table | cut -d'.' -f1)";
    tabname="$(echo $table | cut -d'.' -f2)";
    echo "$schema";
    echo "$tabname";
    echo $folder/$table_space"_auto_ddl"/$tabname"_AUTO_"$schema".sql.tmp"
    echo $folder/$table_space"_auto_ddl"/${tabname}"_AUTO_"${schema}.sql
    print $schema.$tabname;
done < $folder/tables_ddl_list.log
This is an example of one value
MCLM.OPPP
Parses the values into 2 variables So After echoing out $schema I would expect MCLM echoing out $tabnameI would expect OPPP
But I will get empty string
I'm using kornshell and I think its the older version
 
     
     
    