shell杂乱
1.execute_path=`dirname $0`
export SCRIPT_PATH=`cd $execute_path; pwd`
2.
for sqlfile in $(cd ${baseline_dir} && ls |grep -v "workorder")
do
done
3. docker exec $new_container_name bash -c "/usr/bin/mysql --default-character-set=gbk -h 127.0.0.1 -uztecms -p\!Root@123 -P 3306 < $ict_dir/temp/$sql_file"
4. currentDataversion=`docker exec $old_container_name bash -c "/home/ztecms/mysql/bin/mysql -h 127.0.0.1 -uztecms -p\!Root@123 -P 3306 -e \"use iam; select * from dataversion;\" " | grep "v0.0" | awk '{print $2}'`;
不乱于心

浙公网安备 33010602011771号