GeoDB::Display::List.3pm

Langue: en

Version: 2008-11-19 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

Sommaire

NAME

List - List the contents of the search set

DESCRIPTION

START HELP
   Example 1:
   geoqo -d list
   num GCID     Name
   1   GCMR3M   The Mystery of Livinrgttoo
   2   GCPWBT   Hidden Cactus Garden
 
   Example 2:
   geoqo -d 'list:format=%{3:count} %{6:ident} terr=%{3:groundspeak_terrain} diff=%{groundspeak_difficulty}'
   1   GCMR3M terr=1.5 diff=1.5
   2   GCPWBT terr=2   diff=1.5
 
 

The List display shows the contents of the search Set one line at a time. By default, the format is (may vary depending on type though):

   %{3:count} %{8:ident} %{66:urlname}
 
 

The number prefix is the number of spaces to print it in and it will pad with extra spaces if it doesn't fill that space. If left out, it'll print it straight out in any length it may be. Adding a decimal point will limit it to a maximum of that length. IE:

   %{20.20:urlname}
 
 

Will print only the first 20 characetrs of the urlname.

END HELP