我想从一行中删除最后一个字符:
[root@ozzesh ~]#df -h | awk '{ print $5 }' Use% 22% 1% 1% 59% 51% 63% 5%
预期结果:
Use 22 1 1 59 51 63 5
text-processing
text-processing ×1