{"id":5671,"date":"2022-12-20T18:57:24","date_gmt":"2022-12-20T21:57:24","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/lexgrog-fr\/"},"modified":"2022-12-20T18:57:24","modified_gmt":"2022-12-20T21:57:24","slug":"lexgrog-fr","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/lexgrog-fr\/","title":{"rendered":"LEXGROG (fr)"},"content":{"rendered":"<h1 align=\"center\">LEXGROG<\/h1>\n<p> <a href=\"#NOM\">NOM<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#CODE DE RETOUR\">CODE DE RETOUR<\/a><br \/> <a href=\"#EXEMPLES\">EXEMPLES<\/a><br \/> <a href=\"#ANALYSE WHATIS\">ANALYSE WHATIS<\/a><br \/> <a href=\"#VOIR AUSSI\">VOIR AUSSI<\/a><br \/> <a href=\"#NOTA BENE\">NOTA BENE<\/a><br \/> <a href=\"#AUTEUR\">AUTEUR<\/a><br \/> <a href=\"#BOGUES\">BOGUES<\/a><br \/> <a href=\"#TRADUCTION\">TRADUCTION<\/a> <\/p>\n<hr>\n<h2>NOM <a name=\"NOM\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">lexgrog \u2212 Analyser l\u2019information contenue dans l\u2019en\u2212t\u00c3\u00aate des pages de manuel<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lexgrog<\/b> [<b>\u2212m<\/b>|<b>\u2212c<\/b>] [<b>\u2212dfw?V<\/b>] [<b>\u2212E<\/b> <i>encodage<\/i>] <i>fichier<\/i> &#8230;<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lexgrog<\/b> est une impl\u00c3\u00a9mentation de l\u2019utilitaire traditionnel \u00c2\u00ab\u00a0groff guess\u00a0\u00c2\u00bb de <b>lex<\/b>. Il exploite chacun des fichiers indiqu\u00c3\u00a9s sur sa ligne de commande, soit en tant que fichiers source de page de manuel, soit en tant que page \u00c2\u00ab\u00a0cat\u00a0\u00c2\u00bb pr\u00c3\u00a9format\u00c3\u00a9e. Il affiche leur nom et leur description selon le format employ\u00c3\u00a9 par <b>apropos<\/b> et <b>whatis<\/b>. La liste des filtres de pr\u00c3\u00a9traitement, exig\u00c3\u00a9s par la page de manuel avant cela, est pass\u00c3\u00a9e \u00c3\u00a0 <b>nroff<\/b> ou \u00c3\u00a0 <b>troff<\/b>, ou aux deux.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Si les donn\u00c3\u00a9es en entr\u00c3\u00a9e sont mal format\u00c3\u00a9es, <b>lexgrog<\/b> affichera \u00c2\u00ab\u00a0parse failed\u00a0\u00c2\u00bb. Cela peut \u00c3\u00aatre utile pour les programmes externes qui doivent v\u00c3\u00a9rifier les pages de manuel. Si l\u2019un des fichiers d\u2019entr\u00c3\u00a9e de <b>lexgrog<\/b> est \u00c2\u00ab\u00a0\u2212\u00a0\u00c2\u00bb, le programme lira l\u2019entr\u00c3\u00a9e standard. Si un des fichiers analys\u00c3\u00a9 est compress\u00c3\u00a9, une version d\u00c3\u00a9compress\u00c3\u00a9e sera exploit\u00c3\u00a9e automatiquement.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212d<\/b>, <b>\u2212\u2212debug<\/b><\/p>\n<p style=\"margin-left:22%;\">Affiche les informations de mise au point.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212m<\/b>, <b>\u2212\u2212man<\/b><\/p>\n<p style=\"margin-left:22%;\">Analyse l\u2019entr\u00c3\u00a9e en tant que fichier source de page de manuel. C\u2019est le comportement par d\u00c3\u00a9faut si ni <b>\u2212\u2212man<\/b> ni <b>\u2212\u2212cat<\/b> ne sont indiqu\u00c3\u00a9es.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212c<\/b>, <b>\u2212\u2212cat<\/b><\/p>\n<p style=\"margin-left:22%;\">Analyse l\u2019entr\u00c3\u00a9e en tant que page de manuel pr\u00c3\u00a9format\u00c3\u00a9e (page \u00c2\u00ab\u00a0cat\u00a0\u00c2\u00bb) <b>\u2212\u2212man<\/b> et <b>\u2212\u2212cat<\/b> ne peuvent pas \u00c3\u00aatre indiqu\u00c3\u00a9es simultan\u00c3\u00a9ment.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212w<\/b>, <b>\u2212\u2212whatis<\/b><\/p>\n<p style=\"margin-left:22%;\">Affiche le nom et la description, tir\u00c3\u00a9s de l\u2019en\u2212t\u00c3\u00aate de la page de manuel, selon le format employ\u00c3\u00a9 par <b>apropos<\/b> et par <b>whatis<\/b>. C\u2019est le comportement par d\u00c3\u00a9faut si ni <b>\u2212\u2212whatis<\/b> ni <b>\u2212\u2212filters<\/b> ne sont indiqu\u00c3\u00a9es.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212f<\/b>, <b>\u2212\u2212filters<\/b><\/p>\n<p style=\"margin-left:22%;\">Affiche la liste des filtres requis pour pr\u00c3\u00a9traiter la page de manuel avant sa mise en forme par <b>nroff<\/b> ou <b>troff<\/b>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212E<\/b> <i>encodage<\/i>, <b>\u2212\u2212encoding<\/b> <i>encodage<\/i><\/p>\n<p style=\"margin-left:22%;\">Force l\u2019<i>encodage<\/i> \u00c3\u00a0 la place du jeu de caract\u00c3\u00a8res devin\u00c3\u00a9 pour la page.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212?<\/b>, <b>\u2212\u2212help<\/b><\/p>\n<p style=\"margin-left:22%;\">Affiche un message d\u2019aide et s\u2019arr\u00c3\u00aate.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212usage<\/b><\/p>\n<p style=\"margin-left:22%;\">Affiche un court mode d\u2019emploi et s\u2019arr\u00c3\u00aate.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212V<\/b>, <b>\u2212\u2212version<\/b><\/p>\n<p style=\"margin-left:22%;\">Affiche le num\u00c3\u00a9ro de version.<\/p>\n<h2>CODE DE RETOUR <a name=\"CODE DE RETOUR\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"1%\">\n<p style=\"margin-top: 1em\"><b>0<\/b><\/p>\n<\/td>\n<td width=\"10%\"><\/td>\n<td width=\"78%\">\n<p style=\"margin-top: 1em\">Programme ex\u00c3\u00a9cut\u00c3\u00a9 sans erreur.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"1%\">\n<p><b>1<\/b><\/p>\n<\/td>\n<td width=\"10%\"><\/td>\n<td width=\"78%\">\n<p>Erreur d\u2019ex\u00c3\u00a9cution.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"1%\">\n<p><b>2<\/b><\/p>\n<\/td>\n<td width=\"10%\"><\/td>\n<td width=\"78%\">\n<p><b>lexgrog<\/b> n\u2019a pas r\u00c3\u00a9ussi \u00c3\u00a0 analyser un ou plusieurs des fichiers d\u2019entr\u00c3\u00a9e.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<h2>EXEMPLES <a name=\"EXEMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">$ lexgrog man.1 <br \/> man.1: &#8220;man \u2212 interface de consultation des manuels de r\u00c3\u00a9f\u00c3\u00a9rence du syst\u00c3\u00a8me&#8221; <br \/> $ lexgrog \u2212fw man.1 <br \/> man.1 (t): &#8220;man \u2212 interface de consultation des manuels de r\u00c3\u00a9f\u00c3\u00a9rence du syst\u00c3\u00a8me&#8221; <br \/> $ lexgrog \u2212c whatis.cat1 <br \/> whatis.cat1: &#8220;whatis \u2212 affiche la description des pages de manuel&#8221; <br \/> $ lexgrog broken.1 <br \/> broken.1: parse failed<\/p>\n<h2>ANALYSE WHATIS <a name=\"ANALYSE WHATIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>mandb<\/b> (qui emploie le m\u00c3\u00aame code que <b>lexgrog<\/b>) analyse la section <b>NOM<\/b> en t\u00c3\u00aate de chaque page de manuel et recherche le nom et la description de chaque fonction document\u00c3\u00a9e. Bien que l\u2019analyseur soit tr\u00c3\u00a8s tol\u00c3\u00a9rant, car il doit faire face aux diff\u00c3\u00a9rentes formes qui ont \u00c3\u00a9t\u00c3\u00a9 historiquement employ\u00c3\u00a9es, l\u2019extraction de l\u2019information recherch\u00c3\u00a9e reste parfois un \u00c3\u00a9chec.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Pour que les macros de <i>man<\/i> fonctionnent correctement, la section <b>NOM<\/b> doit ressembler \u00c3\u00a0 ceci\u00a0:<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">.SH NOM <br \/> toto \u2212 programme qui fait quelque chose<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Certains afficheurs de pages de manuel exigent \u00c2\u00ab\u00a0\u2212\u00a0\u00c2\u00bb exactement comme indiqu\u00c3\u00a9. <b>mandb<\/b> est plus tol\u00c3\u00a9rant, mais pour assurer la compatibilit\u00c3\u00a9 avec d\u2019autres syst\u00c3\u00a8mes, il est conseill\u00c3\u00a9 de conserver la contre\u2212oblique (antislash).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\u00c3 gauche, il peut y avoir plusieurs noms, s\u00c3\u00a9par\u00c3\u00a9s par des virgules. Les noms contenant des espaces seront ignor\u00c3\u00a9s pour \u00c3\u00a9viter le comportement pathologique avec certaines sections <b>NOM<\/b> mal form\u00c3\u00a9es. Le texte \u00c3\u00a0 droite n\u2019a pas de structure impos\u00c3\u00a9e et peut \u00c3\u00aatre \u00c3\u00a9crit sur plusieurs lignes. Si plusieurs fonctions, avec des descriptions diff\u00c3\u00a9rentes sont document\u00c3\u00a9es dans la m\u00c3\u00aame page de manuel, la forme suivante sera employ\u00c3\u00a9e\u00a0:<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">.SH NOM <br \/> toto, titi \u2212 programmes qui font quelque chose <br \/> .br <br \/> tutu \u2212 programme qui ne fait pas grand chose<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Une macro, marquant le d\u00c3\u00a9but d\u2019un nouveau paragraphe, comme .PP, peut \u00c3\u00aatre employ\u00c3\u00a9e \u00c3\u00a0 la place de la macro de rupture .br.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Pour \u00c3\u00aatre utilis\u00c3\u00a9e avec les macros <i>mdoc<\/i>, d\u00c3\u00a9riv\u00c3\u00a9es de BSD, la section <b>NOM<\/b> doit ressembler \u00c3\u00a0 ceci\u00a0:<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">.Sh NOM <br \/> .Nm toto <br \/> .Nd programme qui fait quelque chose<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Il y a plusieurs raisons habituelles pour lesquelles l\u2019analyse whatis \u00c3\u00a9choue. Parfois les auteurs des pages de manuel remplacent \u00c2\u00ab\u00a0.SH NOM\u00a0\u00c2\u00bb par \u00c2\u00ab\u00a0.SH MONPROGRAMME\u00a0\u00c2\u00bb. De ce fait <b>mandb<\/b> ne peut pas trouver la section dont il a besoin pour extraire l\u2019information. Parfois les auteurs incluent une section NOM, mais y placent le texte descriptif sans respecter le format \u00c2\u00ab\u00a0nom \u2212 description\u00a0\u00c2\u00bb. Cependant, n\u2019importe quelle syntaxe ressemblant \u00c3\u00a0 ce qui pr\u00c3\u00a9c\u00c3\u00a8de devrait \u00c3\u00aatre accept\u00c3\u00a9e.<\/p>\n<h2>VOIR AUSSI <a name=\"VOIR AUSSI\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>apropos<\/i>(1), <i>man<\/i>(1), <i>whatis<\/i>(1), <i>mandb<\/i>(8)<\/p>\n<h2>NOTA BENE <a name=\"NOTA BENE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lexgrog<\/b> essaie d\u2019analyser les fichiers contenant des requ\u00c3\u00aates .so, mais il ne pourra le faire efficacement que si les fichiers sont correctement install\u00c3\u00a9s dans une structure hi\u00c3\u00a9rarchique de pages de manuel.<\/p>\n<h2>AUTEUR <a name=\"AUTEUR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Le code utilis\u00c3\u00a9 dans <b>lexgrog<\/b> pour analyser les pages de manuel a \u00c3\u00a9t\u00c3\u00a9 \u00c3\u00a9crit par\u00a0:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Wilf. (G.Wilford@ee.surrey.ac.uk). <br \/> Fabrizio Polacco (fpolacco@debian.org). <br \/> Colin Watson (cjwatson@debian.org).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Colin Watson a \u00c3\u00a9crit l\u2019interface de la ligne de commande actuelle ainsi que cette page de manuel.<\/p>\n<h2>BOGUES <a name=\"BOGUES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">https:\/\/savannah.nongnu.org\/bugs\/?group=man-db<\/p>\n<h2>TRADUCTION <a name=\"TRADUCTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Cette traduction est maintenue \u00c3\u00a0 l\u2019aide de l\u2019outil po4a <URL:https:\/\/po4a.org\/> par l\u2019\u00c3\u00a9quipe francophone de traduction de Debian.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Val\u00c3\u00a9ry Perrin <valery.perrin.debian@free.fr> le 2 janvier 2006. David Pr\u00c3\u00a9vot <david@tilapin.org> et l\u2019\u00c3\u00a9quipe francophone de traduction de Debian\u00a0(2010).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Veuillez signaler toute erreur de traduction en \u00c3\u00a9crivant \u00c3\u00a0 <debian\u2212l10n\u2212french@lists.debian.org> ou par un rapport de bogue sur le paquet man-db.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Vous pouvez toujours avoir acc\u00c3\u00a8s \u00c3\u00a0 la version anglaise de ce document en utilisant la commande \u00c2\u00ab\u00a0<b>man\u00a0\u2212L C<\/b> <i><\/p>\n<section>\u00a0<page_de_man>\u00a0<\/i>\u00c2\u00bb.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>LEXGROG NOM SYNOPSIS DESCRIPTION OPTIONS CODE DE RETOUR EXEMPLES ANALYSE WHATIS VOIR AUSSI NOTA BENE AUTEUR BOGUES TRADUCTION NOM lexgrog \u2212 Analyser l\u2019information contenue dans l\u2019en\u2212t\u00c3\u00aate des pages de manuel SYNOPSIS lexgrog [\u2212m|\u2212c] [\u2212dfw?V] [\u2212E encodage] fichier &#8230; DESCRIPTION lexgrog est une impl\u00c3\u00a9mentation de l\u2019utilitaire traditionnel \u00c2\u00ab\u00a0groff guess\u00a0\u00c2\u00bb de lex. Il exploite chacun des fichiers [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[962],"tags":[964,2502,968],"class_list":["post-5671","post","type-post","status-publish","format-standard","hentry","category-1-comandos-generales","tag-964","tag-fr","tag-lexgrog"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/5671","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=5671"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/5671\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=5671"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=5671"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=5671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}