为什么这不匹配..?
sed -e '/--Updated?[[:space:]]+Date/d' inputfile
这个..:
--Updated Date: 2013-11-06 15:32:13
d?是因为有时我有Update Date,有时Updated Date。
d?
Update Date
Updated Date
去除?我也试过\s,不行。
\s
sed regular-expression
regular-expression ×1
sed ×1