Le Dimanche 2 Février 2003 10:50, Fanch a écrit : Tout d'abord, je veux te remercier pour ta patience, pour le temps que je te prends.
>On va reprendre le script whatis pour voir à quel endroit ça cloche. >D'abord, quelques précisions : >- Quel est le résultat de la commande "manpath --path | tr : '\040'" ? >(recopie uniquement ce qui est entre les guillements doubles) [joel@localhost joel] $manpath --path | tr : '\040' /usr/X11R6/man/fr /usr/X11R6/man /usr/local/man /usr/share/man/fr_FR /usr/share/man/fr /usr/share/man >- Quel est le résultat de la commande "grep --version" > [joel@localhost joel] $grep --version grep (grep de GNU) 2.5 >Ensuite : >- Est-ce que tu as un fichier /var/cache/man/whatis ? [joel@localhost joel] $ls /var/cache/man/ fr/ fr_FR/ whatis => J'ai constaté à cette occasion que j'ai 3 fichiers du nom de whatis: - /var/cache/man/fr/whatis - /var/cache/man/fr_FR/whatis - /var/cache/man/whatis > - Si oui, que donne la commande "grep -iwa ^urpmi /var/cache/man/whatis" >? (essaye de remplacer ^urpmi par ^znew ou ^zshzle car d'après un de tes >messages précédents on est sûr qu'ils sont présents dans les bases whatis) > - Si non, il y a un problème de création de la base, on reverra alors le >script makewhatis [joel@localhost joel] $grep -iwa ^urpmi /var/cache/man/whatis [joel@localhost joel] $grep -iwa ^znew /var/cache/man/whatis [joel@localhost joel] $grep -iwa ^zshzle /var/cache/man/whatis par contre, cat /var/cache/man/whatis me dit (dernière ligne): zic (8) - time zone compiler j'essaie donc ceci: [joel@localhost joel] $grep -iwa ^zic /var/cache/man/whatis zic (8) - time zone compiler suite à cela, je renomme: [joel@localhost joel] $su Password: [root@localhost joel] $mv /var/cache/man/whatis /var/cache/man/xwhatis puis je copie: [root@localhost joel] $cp /var/cache/man/fr_FR/whatis /var/cache/man/whatis [root@localhost joel] $makewhatis à partir de là, les commandes précédentes donnent ceci: [joel@localhost joel] $grep -iwa ^znew /var/cache/man/whatis znew (1) - recompress .Z files to .gz files [joel@localhost joel] $grep -iwa ^zshzle /var/cache/man/whatis zshzle (1) - zsh command line editor [joel@localhost joel] $grep -iwa ^urpmi /var/cache/man/whatis urpmi (8) - rpm wrapper making installs easier for the user urpmi.addmedia [urpmi] (8) - adds a new rpms media for use with urpmi urpmi.removemedia [urpmi] (8) - remove a rpms media from the known medias of urpmi urpmi.update [urpmi] (8) - Updates packages list for specified medias => on avance, on avance, mais je n'atteint toujours pas le but de la manoeuvre: trouver, en français, la commande qui fait telle ou telle chose: [joel@localhost joel] $whatis copier copier: nothing appropriate [joel@localhost joel] $man -k copier copier: nothing appropriate [joel@localhost joel] $whatis fichier fichier: nothing appropriate [joel@localhost joel] $man -k fichier fichier: nothing appropriate [joel@localhost joel] $ -- .~. /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"