实测过第一种写法,可正常删除
sed 's/.$//' awk '{sub(/.$/,"")}1' awk '{printf $0" "}' ufile
ref: https://blog.csdn.net/u010022051/article/details/51916279/
实测过第一种写法,可正常删除
sed 's/.$//' awk '{sub(/.$/,"")}1' awk '{printf $0" "}' ufile
ref: https://blog.csdn.net/u010022051/article/details/51916279/