[GRASS-dev] [bug #4628] (grass) r.out.tiff: check for .tif.tif

Request Tracker grass-bugs at intevation.de
Mon Jun 19 03:36:10 EDT 2006


this bug's URL: http://intevation.de/rt/webrt?serial_num=4628
-------------------------------------------------------------------------

Subject: r.out.tiff: check for .tif.tif

Hi,


r.out.tiff automatically appends a ".tif" to the end of the output filename.
It should check to see if the string ends in upper/lower case .tif or .tiff
before doing this. A lot of folks assume filename extensions will be added
when needed, so I think we should continue to append.

probably r.out.png and friends as well.

anyone have a simple C replacement for `basename $file .tif`?


thanks,
Hamish


-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list