Le Lundi 27 Janvier 2003 22:58, Fanch a �crit :
>Le Mon, 27 Jan 2003 22:51:22 +0100, joel tarlao
><[EMAIL PROTECTED]>, souvenez-vous, vous tap�tes :
>--(couic)--
>
>> [joel@localhost joel] $whatis man
>> man: nothing appropriate
>> [joel@localhost joel] $
>
>Chez moi le script "makewhatis" cr�e un fichier appel�
>"/var/cache/man/fr_FR/whatis" d'environ 25000 lignes recensant les
>associations commande ou fichier/br�ve pr�sentation de la commande ou du
>fichier ; est-ce que tu as un tel fichier (NB: il peut �ventuellement �tre
>dans /var/cache/man/fr ou /var/cache/man ou /var/cache/man/en etc.)
>
>Fanch

locate whatis me donne tout un tas de r�ponses, dont celles-ci:
/var/cache/man/fr/whatis
/var/cache/man/fr_FR/whatis

Je cherche � savoir leur taille:
[joel@localhost joel] $wc -l /var/cache/man/fr/whatis
   1586 /var/cache/man/fr/whatis
[joel@localhost joel] $wc -l /var/cache/man/fr_FR/whatis
  14342 /var/cache/man/fr_FR/whatis

Je cherche � lire leur contenu par cat.
Voici la derni�re ligne de /var/cache/man/fr_FR/whatis:
zshzle               (1)  - zsh command line editor

Et celle de /var/cache/man/fr/whatis:
znew                 (1)  - Recompacter des fichiers .Z en des fichiers .gz

Je fais un essai sur ces mots:
[joel@localhost joel] $whatis znew
znew: nothing appropriate
[joel@localhost joel] $whatis zshzle
zshzle: nothing appropriate

Si j'ai bien compris, c'est dans whatis lui-m�me que se situe le probl�me.
Peux-tu m'envoyer le contenu de ton /usr/bin/whatis, que je compare avec le 
mien ?

-- 
     .~.
     /V\        Jo�l
   //   \\
  /(     )\
    ^`~'^
Une station de bus, c'est l� o� le bus s'arr�te,
Une station de trains, c'est l� o� le train s'arr�te,
Sur mon bureau, j'ai une station de travail...



Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur "http://www.mandrakestore.com";

Répondre à