Le 11/04/2008 à 15h41, GARETTE Emmanuel a écrit :
> if [ ! "x`grep '</osm>' hexagone-latest.osm`" = "x" ]

Ou, en shell :

if grep -q '</osm>' hexagone-latest.osm;
then

        ...

fi


Alexis.


_______________________________________________
Talk-fr mailing list
Talk-fr@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk-fr

Répondre à