Bonjour à tous

/tmp/fichier contient un seul caractère nul.

Avec grep 2.10:

$ if (cat /tmp/fichier | grep -q -E "^[0-9 ]*$") ; then echo Yop  ; fi
$ 

Avec grep 2.12:
$ if (cat /tmp/fichier | grep -q -E "^[0-9 ]*$") ; then echo Yop  ; fi
Yop
$ 

Est ce voulu ou bien est un bug et il faut faire un rapport?

François Boisson

-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet "unsubscribe"
vers [email protected]
En cas de soucis, contactez EN ANGLAIS [email protected]
Archive: 
http://lists.debian.org/[email protected]

Répondre à