On 22 November 2011 10:45, Nicolas Sebrecht <nsebre...@piing.fr> wrote:
> The 22/11/11, Joerg Schilling wrote: > > > You seem to miss the fact that you are using gsed instead of sed. > > > > using -r makes scripts non-portable. > > You seem to miss the fact that the OP didn't asked for a portable script > and didn't even talked about any system specification. > > So, it's _welcome_ to suppose he's using the most available implementation > of sed on Linux distribution which is GNU sed. A: You are not using the original release of sed from 1973!! B: I'm using sed-justforme, with the --magic option. I'm pretty sure that on a linux mailing list, that the chances that he's asking for a GNU-sed compatible regex are pretty strong. Can't we all just get along? :)