Unix: awk save values as variable

前端 未结 0 1360
悲&欢浪女
悲&欢浪女 2020-12-03 06:12

I have a filename with several underscores: nc_glals_3_4.mrc and there I can read out the values 3 and 4 with awk:

$ echo "nc_glals_3_4.mrc" | awk -F\'[_.]\

相关标签:
回答
  • 消灭零回复
提交回复
热议问题