bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unifying BSD sed -E and GNU sed -r options?


From: Davide Brini
Subject: Re: Unifying BSD sed -E and GNU sed -r options?
Date: Tue, 21 Jan 2014 20:40:35 +0100

> Dan Kegel wrote:
>
> Right, but for now, I have to check platform before using it, e.g.
> 
>  case $_os in
>  osx*) xregx=-E;;
>  *) xregx=-r;;
>  esac
>  ... sed $xregx ...

But I'm saying exactly that you *can* use -E with GNU sed. Or maybe I don't get 
what you mean.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]