https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93965
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org --- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #1) > Dunno, but wouldn't it be better to require either no -s or both, but not > just one? > So > sed -n > 's,^.*\([2-9][0-9][0-9][0-9]\)\([-]*\)\([01][0-9]\)\2\([0-3][0-9]\).*$, > \1\3\4,p' > ? Thank you Jakub. I like to suggested patch. I'm going to send it to the mailing list.