使用道具 举报
Post by huan 既然值是变化的 cut像楼上这么用就有问题了吧? 还不如awk awk -F= '/key=/ {print $2}' test.properties 复制代码
Post by linux_now 用cut也很方便的: grep key propert | cut -c5-
本版积分规则 发表回复 回帖后跳转到最后一页