## DESCRIPTION

g.version prints to standard output the GRASS version number, date, the GRASS copyright (-c flag), and GRASS build information (-b flag).

## 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.

Information about GRASS core GIS Library can be printed by -r flag.

Version numbers of additional libraries like PROJ.4, GDAL/OGR or GEOS are printed by -e flag.

See also function `version()` from Python Scripting Library.

    import grass.script as grass

    print grass.version()

## EXAMPLES

### Basic info

    g.version

    GRASS 7.0.svn (2012)

### GIS Library info

    g.version -r

    GRASS 7.0.svn (2012)
    libgis Revision: 52468
    libgis Date: 2012-07-27 22:53:30 +0200 (Fri, 27 Jul 2012)

### Full info in shell script style

    g.version -rge

    version=7.0.svn
    revision=53670
    date=2012
    libgis_revision=52468
    libgis_date="2012-07-27 22:53:30 +0200 (Fri, 27 Jul 2012) "
    proj4=4.8.0
    gdal=1.9.2
    geos=3.3.5
    sqlite=3.7.14.1

## AUTHORS

Michael Shapiro, U.S. Army Construction Engineering Research Laboratory
Extended info by Martin Landa, Czech Technical University in Prague, Czech Republic

Last changed: $Date$