On Fri, 11 Apr 2008 15:33:29 +0200, Pierre Mauduit
<[EMAIL PROTECTED]> wrote:
> Salut,
> C'est loin d'etre parfait, mais ca a l'air de fonctionner.

if [ `cat hexagone-latest.osm | grep '</osm>' | wc -l` -eq 1 ]

Tu ferais mieux de faire un grep sur le fichier directement plutot que le
cat pour en faire un grep.

if [ ! "x`grep '</osm>' hexagone-latest.osm`" = "x" ]


_______________________________________________
Talk-fr mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk-fr

Répondre à