It acts as a pair of quotes inside the backtics. I had done this already in another script and it's working there. Michael says this fix also works for him.
On Jan 1, 2010, at 4:08 PM, Hamish wrote: > re r40177 > > +ftype="`file "$BINDIRG/$i"`" > +if [ "`echo $ftype | grep 'Mach-O'`" ] || [ "`grep '#% *Module' > "$BINDIRG/$i"`" ] ; then > > > quoting question: > > does > > ftype="`file "$BINDIRG/$i"`" > > split into "`file " $BINDIRG/$i "`" > > > or does `backticks` collect everything within it? > > > ?, > Hamish > > > > > _______________________________________________ > grass-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/grass-dev ----- William Kyngesburye <kyngchaos*at*kyngchaos*dot*com> http://www.kyngchaos.com/ "Oh, look, I seem to have fallen down a deep, dark hole. Now what does that remind me of? Ah, yes - life." - Marvin _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
