mysqlimport --user='root' --password='root1234' --default-character-set=utf8 --fields-terminated-by="$(echo -ne '\033')" --lines-terminated-by='\n' --local shenl /root/xab.dat
https://jisuan5.com/ascii/ ascii码值
SHOW GLOBAL VARIABLES LIKE 'local_infile';
LOAD DATA LOCAL INFILE '/root/xab.dat' INTO TABLE xab FIELDS TERMINATED BY x'1B' lines terminated by '\n';
mysql -uroot -proot1234 --local-infile=1
sed 's/^A//' # ^A由ctrl+V+A获取
awk -F'^A' '{print $1}' # ^A由ctrl+V+A获取
SHIFT+ESC可插入出ESC符号