For greater compatibility, use sed's -E option rather than -r
Not all sed
's are created equal. Some support both -r
and -E
flag telling them to use extended regular expressions; some only -E
:
Not all sed
's are created equal. Some support both -r
and -E
flag telling them to use extended regular expressions; some only -E
: