源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

awk区间取值的例子

  • 时间:2020-08-24 02:00 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:awk区间取值的例子
有如下的文本内容: ********* 123123 123123 ********* 321321 321321 ********* 456456 456456 ********* 123123 123123 ******** 匹配123,取出******区间的内容: awk -vRS="*+" '/123/{print RT$0}' file 说明: RS The input record separator, by default a newline(\n). RT The record terminator. Gawk sets RT to the input text that matched the character or regular expression specified by RS.
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部