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";

Reply via email to