[GRASS-dev] grep -E?

Glynn Clements glynn at gclements.plus.com
Mon May 28 19:40:14 EDT 2007


Hamish wrote:

> [I'm extending v.in.garmin to work with gardump from Snafu's garmin-utils]
> 
> 
> can we expect 'grep -E' to work everywhere grep works? (aka egrep)
> 
> ie is -E portable or a GNU extension? I want to use the '|' infix operator.

Just use basic syntax and use \| instead of | .

Having said that, I'm fairly sure that both "grep -E" and "egrep" are
portable.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list