*.txt 格式化整理

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/hongrisl/article/details/88724945

输出的*.txt 文件,进行格式化修改:

sed  -i '1i\date     be_id  domain  proc_type   error_code  count(*)' /onip/app/billsharedb/lyy/error.txt

echo -e "${sql_mod}${sql_str}" | sqlplus -s $conn_str |sed "s/  *//g" | sed "s/\t//g" >> 1234.txt

猜你喜欢

转载自blog.csdn.net/hongrisl/article/details/88724945
txt