-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Le 03/03/2013 02:06, Vincent Lefevre a écrit : > On 2013-03-02 10:51:47 +0100, C Diaz wrote: Salut > >> Chez moi ça ne marche pas aussi bien, la commande grep semble plus >> récalcitrante. >> Dans le script appelé par cron, >> >> /sbin/tune2fs -l >> fichier_enregistrant_la_sortie >> >> fonctionne >> >> mais >> /sbin/tune2fs -l | /bin/grep "ma chaine de tri" >> >> fichier_enregistrant_la_sortie >> >> ne fonctionne pas. >> >> Ce n'est pas bien grave, je scinde l'opération en deux, l'opération "grep" >> se faisant par un autre script appelé directement en ligne de commande. ce ne serait il pas un broblème dash (utilisé par cron) et bash (quand tu lances à la main)? philippe >
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJRMtnBAAoJEACDPLeL1qJwpgsIAKCM59vsi5b+TKN/f9Z7uuGq p/zFtwOGZstF2d66zwxjw29t635L4EoIEbvAYGW5WbxCqQIWh+n0+1VyB/JOqNsa GqUzSnTE6tlf8sK75ZVijub6WT6MrH3lhHuBEyZ6/oETe6go7iKbqdxxKu74bFQC zZKYX/Vox0+cUhVxhxsMNI/67/3ONuduPTfdpzNsnrujfmGo/uqe8lJS9qGMU4LF nbcpmKC4sSa13+o2j06r+HcF5IfTpqF0gmcNju39thnj464J4OFgV5mKxy6tNAP9 2il/IQCDbrfj6v13QBQrtpcFBCYW918GBXNYaP+AvIXwmfQNg2SDkHff1VjWH/U= =G8d3 -----END PGP SIGNATURE-----