(perhaps I should expand since that's perhaps a "no shit" considering it's ERE)
sed has no ERE in POSIX, and kinda lacks for certain functionality when you're looking for portability. In general awk doesn't suffer the same caveat. But I'm an awk fanboy, so I would say that. Chris On 13 February 2013 07:42, Chris Down <ch...@chrisdown.name> wrote: > -r is not POSIX. > > > On 13 February 2013 07:29, Nimrod Omer <nimrodo...@gmail.com> wrote: > >> >> > I disagree because grep (with -E or as egrep) does support Extended >> > Regular Expressions, which sed does not. >> > >> >> sed -r >> > >