On Tue, Nov 22, 2011 at 19:26, James Broadhead <jamesbroadh...@gmail.com> wrote: > 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.
In addition, this is the [gentoo-user] mailing list, so it should be expected that a sed question will be answered based on the sys-apps/sed as provided by Gentoo's portage. If OP needs a portable (i.e., POSIX-compatible) sed, I'm sure he'll explicitly ask :-) > Can't we all just get along? :) Kewl! Let's we all get together for a couple pints of beer sometime :D ( OT: Any such thing as a GentooCon ? ) Rgds, -- FdS Pandu E Poluan ~ IT Optimizer ~ • LOPSA Member #15248 • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan