[GRASS-user] grass prompt -- strange behaviour

Hamish hamish_nospam at yahoo.com
Sun May 14 23:33:08 EDT 2006


> for map in $(ls *.xml); do echo "$map -> ${map%%.xml}"; done


I don't know why that isn't working, but for the same thing you might
try:

echo "$map -> `basename $map .xml`"




Hamish




More information about the grass-user mailing list