Re: updated: [master] [4de95fe] Ticket #1963: use grep instead of awk in iso9660 extfs plugin.



On Wed, Dec 15, 2010 at 09:14:31AM +0300, Andrew Borodin wrote:
> On Tue, 14 Dec 2010 17:28:11 +0100 Oswald Buddenhagen wrote:
> > or more precisely, you mean
> >   @EGREP@ "Iconv not yet supported|Unknown charset"
> > (without the backslash).
> 
> No. I mean @GREP@ with backslash'ed OR \|.
> 
> There is an alternative:
> @GREP@ with \|
> or
> @EGREP@ with |
> 
that's what i wrote. ;)

> > that's cleaner and should be more portable than the gnu extensions
> > to basic regular expressions.
> 
> Is \| a GNU extension in grep?
> 
it's kind of implied. the man page merely says "In other
implementations, basic regular expressions are less powerful". the sed
man page is more explicit about it, and i think it's reasonabe to assume
that it applies equally to grep.


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