awk例子

 ls |awk -F . '{print $1}'|awk -F '-[0-9]' '{print $1}' 
posted @ 2019-01-11 16:49  梦轻尘  阅读(97)  评论(0编辑  收藏  举报