[GRASS-user] How many modules has GRASS?

Nikos Alexandris nikos.alexandris at felis.uni-freiburg.de
Wed May 28 17:04:33 EDT 2008


On Wed, 2008-05-28 at 22:52 +0200, Nikos Alexandris wrote:
> ls -la $GISBASE/bin/*.* | wc -l


Something like

 ls -la $GISBASE/bin/*.* | grep -F r. | wc -l #for raster
 ls -la $GISBASE/bin/*.* | grep -F v. | wc -l #for vector
 ls -la $GISBASE/bin/*.* | grep -F g. | wc -l #for generic
etc.

All in a script and a nice report.

Or there other methods (better than grep -F) doing this?



More information about the grass-user mailing list