[GRASS-dev] missing help for r.cats

Glynn Clements glynn at gclements.plus.com
Wed Feb 20 08:46:42 EST 2008


Hamish wrote:

> > 	The proper command to search for the latter (assuming POSIX
> > 	`grep' [1]) is:
> > 
> > $ grep -F r.cats *
> 
> Right. FWIW my method was 'grep -rI r\.cats *'

If you're doing that from the shell, it needs two backslashes:

	grep -rI r\\.cats *

or quotes:

	grep -rI 'r\.cats' *

so that grep actually "sees" a backslash.

Or just use "grep -F" or "fgrep" for searching for fixed strings.

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


More information about the grass-dev mailing list