摘要: n do not output the trailing newline 阅读全文
posted @ 2017-03-22 22:06 wangchangruei 阅读(164) 评论(0) 推荐(0)
摘要: i sed i '$a modified part' test_file i : edit file $ : the last line a : append 在 test_file 的最後一行加上字串 modified part sed i '/source setenv.sh/s/^/ /' $ 阅读全文
posted @ 2017-03-22 22:01 wangchangruei 阅读(156) 评论(0) 推荐(0)