【发布时间】:2010-09-01 13:26:03
【问题描述】:
如何匹配以单词 ADDRESS 开头的所有行 第二个字符串以 abc 字符开头。
remark - (我需要在我的shell脚本中结合sed语法)
例如
more file
ADDRESS abc1a (match)
ADDRESS abc1b (match)
ADDRESS acb1a (will not match)
ADRESS abc (will not match)
ADDRESS abc2a (will match)
ADDRES abc1a (will not match)
ADDRESS ab (will not match)
【问题讨论】: