GRASS logo

NAME

g.version - Displays version and copyright information.

KEYWORDS

general, version

SYNOPSIS

g.version
g.version help
g.version [-cbrg] [--verbose] [--quiet]

Flags:

-c
Print also the copyright message
-b
Print also the GRASS build information
-r
Print also the GIS library revision number and time
-g
Print info in shell script style
--verbose
Verbose module output
--quiet
Quiet module output

DESCRIPTION

g.version prints to standard output the GRASS version number, date, the GRASS copyright and GRASS build information.

NOTES

This program requires no command line arguments; the user simply types g.version on the command line to see the version number and date of the GRASS software currently being run by the user.

EXAMPLES

g.version 

GRASS 7.0.svn45136 (2011)
g.version -r

GRASS 7.0.svn45136 (2011)
Revision: 45093 
Date: 2011-01-20 13:10:50 +0100 (Thu, 20 Jan 2011)
g.version -rg

version=7.0.svn
revision=45136
date=2011
gis_revision=Revision: 45093 
gis_date=Date: 2011-01-20 13:10:50 +0100 (Thu, 20 Jan 2011) 

PYTHON

See Python Scripting Library for more info.
import grass.script as grass

grass.version()

AUTHOR

Michael Shapiro, U.S. Army Construction Engineering Research Laboratory

Last changed: $Date: 2011-01-26 02:44:29 -0800 (Wed, 26 Jan 2011) $


Main index - general index - Full index

© 2003-2011 GRASS Development Team