Bonjour, J'ai un petit soucis en shell (sh). Dans un shell que je d�veloppe, j'enregistre des choses dans fichier log.
Quand je fais par exemple un : df > toto.txt Puis un cat toto.txt, j'obtiens : Filesystem 1k-blocks Used Available Use% Mounted on /dev/sda1 93309 19221 69271 22% / /dev/sda6 1968588 647456 1221132 35% /usr /dev/sda7 3937220 195964 3541252 5% /var /dev/sda8 28486556 3474792 23564712 13% /home Par contre si dans un script, je fais un echo `df` > toto.txt, j'obtiens : Filesystem 1k-blocks Used Available Use% Mounted on /dev/sda1 93309 19236 69256 22% / /dev/sda6 1968588 647456 1221132 35% /usr /dev/sda7 3937220 204324 3532892 5% /var /dev/sda8 28486556 3466300 23573204 13% /home J'aimerais bien conserver la mise en page pour une question de lisibilit�. Y-a-t-il une fa�on de faire ? Merci d'avance. Stef... .......................................................... . Linux - Debian - php4 - Apache - MySQL - Infogerance . . email: [EMAIL PROTECTED] - http://www.actionweb.fr . . Tel: (0)141 906 100 - Fax: (0)141 906 101 . ..........................................................

