[GRASS-dev] r.category: wrong separator in examples

hi

in the manuals of g7 [1], following separators are given:

separator=character
    Field separator
    Special characters: pipe, comma, space, tab, newline
    Default: tab

but in the examples below, the separator is :

cat:Label
val1:val2:Label
[...]
0:no data
2: .
5: . ## explicit category labels
7: .

the examples aren't working.

[1] https://grass.osgeo.org/grass71/manuals/r.category.html

-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/r-category-wrong-separator-in-examples-tp5242894.html
Sent from the Grass - Dev mailing list archive at Nabble.com.

On Wed, Dec 23, 2015 at 10:14 PM, Helmut Kudrnovsky <hellik@web.de> wrote:

hi

in the manuals of g7 [1], following separators are given:

separator=character
    Field separator
    Special characters: pipe, comma, space, tab, newline
    Default: tab

but in the examples below, the separator is :

cat:Label
val1:val2:Label
[...]
0:no data
2: .
5: . ## explicit category labels
7: .

the examples aren't working.

--> this belongs to "Default and dynamic category labels" which is not
part of the example section.

Perhaps we should add the same "(when separator is set to colon)" as
in the section "Input from a file" a few lines above?

Markus

PS: I agree that the page could be written in a better way.

[1] https://grass.osgeo.org/grass71/manuals/r.category.html