[GRASS-SVN] r30483 - grass/trunk/general/g.message
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Mar 6 01:21:45 EST 2008
Author: hamish
Date: 2008-03-06 01:21:44 -0500 (Thu, 06 Mar 2008)
New Revision: 30483
Modified:
grass/trunk/general/g.message/description.html
Log:
be technically correct in advice
Modified: grass/trunk/general/g.message/description.html
===================================================================
--- grass/trunk/general/g.message/description.html 2008-03-06 05:11:35 UTC (rev 30482)
+++ grass/trunk/general/g.message/description.html 2008-03-06 06:21:44 UTC (rev 30483)
@@ -20,7 +20,9 @@
the parser doesn't get confused.
<P>
Messages containing '<tt>!</tt>' and '<tt>$</tt>' must use single 'quotes' to
-avoid unwanted shell translation.
+avoid unwanted shell translation. (Apparently '!' will not be expanded if
+double-quoted in a non-interactive shell (i.e. a script), but it is probably
+worth single-quoting it anyway to avoid contex based confusion later on)
<P>
If you want a long message (mutli-line) to be dealt with as a single
paragraph, use a single call to <em>g.message</em> with text split in the
More information about the grass-commit
mailing list