| 1 |
# French translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Lucien Gentis <[email protected]>, 2025. |
| 5 |
msgid "" |
| 6 |
msgstr "" |
| 7 |
"Project-Id-Version: manpages-l10n 4.26.1\n" |
| 8 |
"POT-Creation-Date: 2026-06-05 06:29+0200\n" |
| 9 |
"PO-Revision-Date: 2025-05-14 13:44+0200\n" |
| 10 |
"Last-Translator: Lucien Gentis <[email protected]>\n" |
| 11 |
"Language-Team: French <[email protected]>\n" |
| 12 |
"Language: fr\n" |
| 13 |
"MIME-Version: 1.0\n" |
| 14 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 15 |
"Content-Transfer-Encoding: 8bit\n" |
| 16 |
"Plural-Forms: nplurals=2; plural=(n > 1);\n" |
| 17 |
"X-Generator: vim-gtk3\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 21 |
#, no-wrap |
| 22 |
msgid "LESSPIPE.SH" |
| 23 |
msgstr "LESSPIPE.SH" |
| 24 |
|
| 25 |
#. type: TH |
| 26 |
#: archlinux fedora-rawhide |
| 27 |
#, no-wrap |
| 28 |
msgid "April 2026" |
| 29 |
msgstr "Avril 2026" |
| 30 |
|
| 31 |
#. type: TH |
| 32 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 33 |
#, no-wrap |
| 34 |
msgid "lesspipe.sh" |
| 35 |
msgstr "lesspipe.sh" |
| 36 |
|
| 37 |
#. type: TH |
| 38 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 39 |
#, no-wrap |
| 40 |
msgid "User Commands" |
| 41 |
msgstr "Commandes de l'utilisateur" |
| 42 |
|
| 43 |
#. #-#-#-#-# archlinux: lesspipe.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 44 |
#. type: SH |
| 45 |
#. #-#-#-#-# debian-trixie: lesspipe.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 46 |
#. NAME should be all caps, SECTION should be 1-8, maybe w/ subsection |
| 47 |
#. other parms are allowed: see man(7), man(1) |
| 48 |
#. type: SH |
| 49 |
#. #-#-#-#-# debian-unstable: lesspipe.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 50 |
#. NAME should be all caps, SECTION should be 1-8, maybe w/ subsection |
| 51 |
#. other parms are allowed: see man(7), man(1) |
| 52 |
#. type: SH |
| 53 |
#. #-#-#-#-# fedora-44: lesspipe.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 54 |
#. type: SH |
| 55 |
#. #-#-#-#-# fedora-rawhide: lesspipe.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 56 |
#. type: SH |
| 57 |
#. #-#-#-#-# mageia-cauldron: lesspipe.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 58 |
#. type: SH |
| 59 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 60 |
#: mageia-cauldron |
| 61 |
#, no-wrap |
| 62 |
msgid "NAME" |
| 63 |
msgstr "NOM" |
| 64 |
|
| 65 |
#. type: Plain text |
| 66 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 67 |
msgid "lesspipe.sh - a filter for less" |
| 68 |
msgstr "lesspipe.sh — Un filtre pour B<less>(1)" |
| 69 |
|
| 70 |
#. type: SH |
| 71 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 72 |
#: mageia-cauldron |
| 73 |
#, no-wrap |
| 74 |
msgid "SYNOPSIS" |
| 75 |
msgstr "SYNOPSIS" |
| 76 |
|
| 77 |
#. type: Plain text |
| 78 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 79 |
msgid "B<lesspipe.sh> [I<FILE[s]>]..." |
| 80 |
msgstr "B<lesspipe.sh> [I<FICHIER[S]>]..." |
| 81 |
|
| 82 |
#. type: SH |
| 83 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 84 |
#: mageia-cauldron |
| 85 |
#, no-wrap |
| 86 |
msgid "DESCRIPTION" |
| 87 |
msgstr "DESCRIPTION" |
| 88 |
|
| 89 |
#. type: Plain text |
| 90 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 91 |
msgid "" |
| 92 |
"The aim of B<lesspipe.sh> is to enhance the output of B<less>. The choice of " |
| 93 |
"the rules to be applied to modify the output are based on the file " |
| 94 |
"contents. The file extension is respected only as a last resort. Usually " |
| 95 |
"B<lesspipe.sh> is called as an input filter to B<less>." |
| 96 |
msgstr "" |
| 97 |
"B<lesspipe.sh> a pour but d’améliorer la sortie de B<less>(1). C’est le " |
| 98 |
"contenu du fichier qui détermine le choix des règles à appliquer pour " |
| 99 |
"modifier la sortie. L’extension de nom de fichier n’est prise en compte " |
| 100 |
"qu’en dernier recours. B<lesspipe.sh> est en général appelé en tant que " |
| 101 |
"filtre d’entrée pour B<less>(1)." |
| 102 |
|
| 103 |
#. type: Plain text |
| 104 |
#: archlinux fedora-44 fedora-rawhide |
| 105 |
#, fuzzy |
| 106 |
#| msgid "" |
| 107 |
#| "With the help of that filter B<less> will display the uncompressed " |
| 108 |
#| "contents of compressed (I<gzip, bzip2, compress, zstd, lz4, lzip, xz, " |
| 109 |
#| "lzma or brotli>) files. For files containing archives and directories, a " |
| 110 |
#| "table of contents will be displayed (I<tar, ar, zip, 7-zip, rar, jar, " |
| 111 |
#| "cpio, rpm, deb ms-cabinet, iso, appimage and snap formats>). Many other " |
| 112 |
#| "files will be reformatted for display. It includes I<pdf, dvi, markdown, " |
| 113 |
#| "Office (MS and Openoffice)> suites formats, I<NetCDF, matlab, device tree " |
| 114 |
#| "blob, html, xml> and I<media (image, audio and video)> formats. This does " |
| 115 |
#| "require helper programs being installed." |
| 116 |
msgid "" |
| 117 |
"With the help of that filter B<less> will display the uncompressed contents " |
| 118 |
"of compressed (I<gzip, bzip2, compress, zstd, lz4, lzip, xz, lzma, zlib or " |
| 119 |
"brotli>) files. For files containing archives and directories, a table of " |
| 120 |
"contents will be displayed (I<tar, ar, zip, 7-zip, rar, jar, cpio, rpm, deb " |
| 121 |
"ms-cabinet, iso, dmg, appimage and snap formats>). Many other files will be " |
| 122 |
"reformatted for display. It includes I<pdf, dvi, markdown, Office (MS and " |
| 123 |
"Openoffice)> suites formats, I<NetCDF, matlab, device tree blob, html, xml> " |
| 124 |
"and I<media (image, audio and video)> formats. This does require helper " |
| 125 |
"programs being installed." |
| 126 |
msgstr "" |
| 127 |
"Grâce à ce filtre, B<less>(1) va pouvoir afficher le contenu décompressé des " |
| 128 |
"fichiers compressés par I<gzip, bzip2, compress, zstd, lz4, lzip, xz, lzma " |
| 129 |
"ou brotli>. Pour les fichiers contenant des archives et des répertoires, une " |
| 130 |
"table des matières sera affichée (formats I<tar, ar, zip, 7-zip, rar, jar, " |
| 131 |
"cpio, rpm, deb ms-cabinet, iso, appimage et snap>). De nombreux autres types " |
| 132 |
"de fichier seront reformatés avant affichage. Il s’agit des formats des " |
| 133 |
"suites I<pdf, dvi, markdown, Office (MS et Openoffice)> et des formats " |
| 134 |
"I<NetCDF, matlab, device tree blob, html, xml> et I<media (image, audio et " |
| 135 |
"video)>. Pour que ce filtrage fonctionne, des programmes d’assistance " |
| 136 |
"doivent être installés." |
| 137 |
|
| 138 |
#. type: Plain text |
| 139 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 140 |
msgid "" |
| 141 |
"The filter can also be applied recursively to extract and display files in " |
| 142 |
"archives on the fly. This works to a depth of 6 where applying a " |
| 143 |
"decompression algorithm counts as a separate level." |
| 144 |
msgstr "" |
| 145 |
"Le filtre peut aussi être appliqué récursivement pour extraire et afficher " |
| 146 |
"les fichiers d’une archive à la volée. Cette opération fonctionne jusqu’à " |
| 147 |
"une profondeur de 6, l’application d’un algorithme de décompression comptant " |
| 148 |
"comme un niveau séparé." |
| 149 |
|
| 150 |
#. type: Plain text |
| 151 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 152 |
msgid "" |
| 153 |
"If the file utility reports text with an encoding different from the one " |
| 154 |
"used in the terminal then the text will be transformed using I<iconv> into " |
| 155 |
"the default encoding. This does assume the I<file> command gets the file " |
| 156 |
"encoding right, which can be wrong in some situations. An appended colon to " |
| 157 |
"the file name does suppress the conversion." |
| 158 |
msgstr "" |
| 159 |
"Si l’utilitaire B<file>(1) indique du texte avec un codage différent de " |
| 160 |
"celui utilisé dans le terminal, le texte sera converti vers le codage par " |
| 161 |
"défaut à l’aide de B<iconv>(1). Pour que cela fonctionne, la commande " |
| 162 |
"B<file>(1) doit extraire le codage du fichier de manière correcte, ce qui " |
| 163 |
"n’est pas toujours le cas. L’ajout d’un deux-points (:) au nom de fichier " |
| 164 |
"désactive la conversion." |
| 165 |
|
| 166 |
#. type: Plain text |
| 167 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 168 |
msgid "" |
| 169 |
"When using the programs B<git>, B<vim> or B<mutt> they can be enabled to " |
| 170 |
"read non-text files by using lesspipe.sh. That is described in the Wiki at " |
| 171 |
"I<https://github.com/wofr06/lesspipe/wiki>." |
| 172 |
msgstr "" |
| 173 |
"Les programmes B<git>(1), B<vim>(1) ou B<mutt>(1) peuvent lire des fichiers " |
| 174 |
"non-texte en utilisant B<lesspipe.sh>. Pour plus de détails, consultez le " |
| 175 |
"Wiki à I<https://github.com/wofr06/lesspipe/wiki>." |
| 176 |
|
| 177 |
#. type: SH |
| 178 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 179 |
#, no-wrap |
| 180 |
msgid "FILTER ACTIVATION" |
| 181 |
msgstr "ACTIVATION DU FILTRE" |
| 182 |
|
| 183 |
#. type: Plain text |
| 184 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 185 |
msgid "" |
| 186 |
"The filter is called from B<less> provided the environment variable " |
| 187 |
"B<LESSOPEN> is set properly. For ksh like shells (I<bash, zsh>) the command" |
| 188 |
msgstr "" |
| 189 |
"Le filtre est invoqué depuis B<less>(1) à condition que la variable " |
| 190 |
"d’environnement I<LESSOPEN> soit correctement définie. Pour les " |
| 191 |
"interpréteurs de commande de style ksh (B<bash>(1), B<zsh>(1)), la commande" |
| 192 |
|
| 193 |
#. type: Plain text |
| 194 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 195 |
msgid "I<LESSOPEN=\"|lesspipe.sh %s\"; export LESSOPEN>" |
| 196 |
msgstr "I<LESSOPEN=\"|lesspipe.sh %s\"; export LESSOPEN>" |
| 197 |
|
| 198 |
#. type: Plain text |
| 199 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 200 |
msgid "" |
| 201 |
"does activate the filter for less. Use the fully qualified path, if " |
| 202 |
"B<lesspipe.sh> is not in the search path. The command to set B<LESSOPEN> can " |
| 203 |
"also be displayed by calling B<lesspipe.sh> without arguments. This can " |
| 204 |
"even be used to set B<LESSOPEN> directly:" |
| 205 |
msgstr "" |
| 206 |
"active le filtre pour B<less>(1). Utilisez un chemin absolu si " |
| 207 |
"B<lesspipe.sh> ne se trouve pas dans le chemin de recherche. La commande " |
| 208 |
"permettant de définir I<LESSOPEN> peut aussi être affichée en invoquant " |
| 209 |
"B<lesspipe.sh> sans argument. Il est ainsi possible de définir I<LESSOPEN> " |
| 210 |
"directement :" |
| 211 |
|
| 212 |
#. type: Plain text |
| 213 |
#: archlinux fedora-44 fedora-rawhide |
| 214 |
#, fuzzy, no-wrap |
| 215 |
#| msgid "I<lesspipe.sh|source /dev/stdin> (zsh)" |
| 216 |
msgid "" |
| 217 |
"I<eval `lesspipe.sh`>\n" |
| 218 |
"(bash) or\n" |
| 219 |
"I<lesspipe.sh|source /dev/stdin>\n" |
| 220 |
"(zsh)\n" |
| 221 |
msgstr "I<lesspipe.sh|source /dev/stdin> (B<zsh>(1))" |
| 222 |
|
| 223 |
#. type: Plain text |
| 224 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 225 |
msgid "" |
| 226 |
"The above commands work only in the described manner if the file name is " |
| 227 |
"B<lesspipe.sh>. If it is installed under a different name then calling it " |
| 228 |
"without an argument will work as a filter with B<LESSQUIET> set and " |
| 229 |
"expecting input from STDIN." |
| 230 |
msgstr "" |
| 231 |
"Les commandes ci-avant ne fonctionnent de la manière décrite que si le nom " |
| 232 |
"de fichier est I<lesspipe.sh>. Si ce dernier a été installé sous un nom " |
| 233 |
"différent, son invocation sans argument fonctionnera comme un filtre avec " |
| 234 |
"I<LESSQUIET> définie et attendant des données en entrée sur I<STDIN>." |
| 235 |
|
| 236 |
# FIXME unexpected colon in "B<less> :will" |
| 237 |
#. type: Plain text |
| 238 |
#: archlinux fedora-44 fedora-rawhide |
| 239 |
#, fuzzy |
| 240 |
#| msgid "" |
| 241 |
#| "Having set the environment variable as described above, B<less> :will " |
| 242 |
#| "then display textual information for a wide range of file formats." |
| 243 |
msgid "" |
| 244 |
"Having set the environment variable as described above, B<less> will then " |
| 245 |
"display textual information for a wide range of file formats." |
| 246 |
msgstr "" |
| 247 |
"Une fois la variable d’environnement définie comme décrit ci-avant, " |
| 248 |
"B<less>(1) affichera des informations au format texte pour une grande " |
| 249 |
"variété de formats de fichier." |
| 250 |
|
| 251 |
#. type: Plain text |
| 252 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 253 |
msgid "The filter is normally not called if input is piped to less as in" |
| 254 |
msgstr "" |
| 255 |
"Le filtre n’est en général pas invoqué si l’entrée de B<less>(1) est un tube " |
| 256 |
"comme dans" |
| 257 |
|
| 258 |
#. type: Plain text |
| 259 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 260 |
msgid "I<cat somefile | less>" |
| 261 |
msgstr "I<cat fichier | less>" |
| 262 |
|
| 263 |
#. type: Plain text |
| 264 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 265 |
msgid "" |
| 266 |
"As described in the man page of less, the filtering in a pipe can however be " |
| 267 |
"forced by starting B<LESSOPEN> with the characters I<|->." |
| 268 |
msgstr "" |
| 269 |
"Comme indiqué dans la page de manuel de B<less>(1), le filtrage dans le cas " |
| 270 |
"d’un tube peut tout de même être forcé en préfixant I<LESSOPEN> par les " |
| 271 |
"caractères « |- »." |
| 272 |
|
| 273 |
#. type: Plain text |
| 274 |
#: archlinux fedora-44 fedora-rawhide |
| 275 |
msgid "" |
| 276 |
"If commands within B<lesspipe.sh> do fail, in some cases the error messages " |
| 277 |
"get displayed, this is a regarded buggy behavior and should be reported." |
| 278 |
msgstr "" |
| 279 |
|
| 280 |
#. type: Plain text |
| 281 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 282 |
msgid "" |
| 283 |
"To suppress informal messages in the first line of the filter output the ENV " |
| 284 |
"variable B<LESSQUIET> can be set to a nonempty value." |
| 285 |
msgstr "" |
| 286 |
"Définir la variable d’environnement I<LESSQUIET> à une valeur non vide " |
| 287 |
"permet de supprimer les messages d’information dans la première ligne de " |
| 288 |
"sortie du filtre." |
| 289 |
|
| 290 |
#. type: Plain text |
| 291 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 292 |
msgid "" |
| 293 |
"To disengage the filter temporarily a colon can be appended to the file " |
| 294 |
"name. If the file name contains a colon, then an equal sign should be used " |
| 295 |
"instead." |
| 296 |
msgstr "" |
| 297 |
"Pour désactiver temporairement le filtre, un deux-points « : » peut être " |
| 298 |
"ajouté à la fin du nom de fichier. Si le nom de fichier contient un deux-" |
| 299 |
"points, un signe égal « = » devra être utilisé à la place." |
| 300 |
|
| 301 |
#. type: SH |
| 302 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 303 |
#, no-wrap |
| 304 |
msgid "HTML, XML and Perl POD Files" |
| 305 |
msgstr "Fichiers HTML, XML et Perl POD" |
| 306 |
|
| 307 |
#. type: Plain text |
| 308 |
#: archlinux fedora-rawhide |
| 309 |
#, fuzzy |
| 310 |
#| msgid "" |
| 311 |
#| "Files in the I<html>, I<xml> and I<perl pod> format are always rendered. " |
| 312 |
#| "Sometimes however the original contents of the file should be viewed " |
| 313 |
#| "instead. As mentioned before that can be achieved by appending a colon to " |
| 314 |
#| "the file name. If the correct file type (I<html>, I<xml>, I<pod>) " |
| 315 |
#| "follows, the output can get colorized (see also the section below)." |
| 316 |
msgid "" |
| 317 |
"Files in the I<html> and I<perl pod> format are always rendered. Sometimes " |
| 318 |
"however the original contents of the file should be viewed instead. As " |
| 319 |
"mentioned before that can be achieved by appending a colon to the file name. " |
| 320 |
"If the correct file type (I<html>, I<pod>) follows, the output can get " |
| 321 |
"colorized (see also the section below)." |
| 322 |
msgstr "" |
| 323 |
"Les fichiers au format I<html>, I<xml> ou I<perl pod> sont toujours " |
| 324 |
"correctement affichés. Cependant, il sera parfois plutôt souhaitable de " |
| 325 |
"visualiser le contenu original du fichier. Pour ce faire, comme indiqué ci-" |
| 326 |
"avant, ajouter un deux-points à la fin du nom de fichier. Si le type de " |
| 327 |
"fichier correct (I<html>, I<xml>, I<pod>) suit, la sortie pourra être " |
| 328 |
"colorée (voir aussi la section ci-après)." |
| 329 |
|
| 330 |
#. type: Plain text |
| 331 |
#: archlinux fedora-44 fedora-rawhide |
| 332 |
#, fuzzy |
| 333 |
#| msgid "Example: I<less index.html:html>" |
| 334 |
msgid "Example: B<less> I<index.html:html>" |
| 335 |
msgstr "Exemple : I<less index.html:html>" |
| 336 |
|
| 337 |
#. type: Plain text |
| 338 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 339 |
msgid "" |
| 340 |
"If the binary I<xmq> is installed, then I<xml> is rendered differently, so " |
| 341 |
"that the xml structure is better recognized. A similar display for I<html> " |
| 342 |
"contents using I<xmq> is achieved by appending a colon to the file name. To " |
| 343 |
"get the original html file contents, two colons are required in this case." |
| 344 |
msgstr "" |
| 345 |
"Si le binaire B<xmq> est installé, le format I<xml> sera rendu différemment " |
| 346 |
"de sorte que la structure I<xml> soit mieux reconnue. Un affichage similaire " |
| 347 |
"pour le format I<html> est effectué en ajoutant un deux-points à la fin du " |
| 348 |
"nom de fichier. Pour obtenir le contenu original du fichier I<html>, deux " |
| 349 |
"deux-points sont alors requis." |
| 350 |
|
| 351 |
#. type: SH |
| 352 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 353 |
#, no-wrap |
| 354 |
msgid "OUTPUT COLORIZATION" |
| 355 |
msgstr "COLORATION DE LA SORTIE" |
| 356 |
|
| 357 |
#. type: Plain text |
| 358 |
#: archlinux fedora-rawhide |
| 359 |
#, fuzzy |
| 360 |
#| msgid "" |
| 361 |
#| "The filter is able to do syntax highlighting for a wide variety of file " |
| 362 |
#| "types. If installed, I<nvimpager> is used for colorizing the output. If " |
| 363 |
#| "not, I<bat>/I<batcat>, I<pygmentize>, I<source-highlight>, I<vimcolor> " |
| 364 |
#| "and I<code2color> are tried in turn. For bat/batcat the theme is set to " |
| 365 |
#| "I<ansi> and the style is set to I<plain> which comes closer to the " |
| 366 |
#| "unfiltered output of B<less>. These settings can be changed in " |
| 367 |
#| "I<~/.config/bat/config> or by the environment variables B<BAT_STYLE> and " |
| 368 |
#| "B<BAT_THEME>." |
| 369 |
msgid "" |
| 370 |
"The filter is able to do syntax highlighting for a wide variety of file " |
| 371 |
"types. If installed, I<nvimpager> is used for colorizing the output. If not, " |
| 372 |
"I<bat>/I<batcat>, I<pygmentize>, I<e2ansi-cat>, I<source-highlight>, " |
| 373 |
"I<vimcolor> and I<code2color> are tried in turn. For bat/batcat the theme " |
| 374 |
"is set to I<ansi> and the style is set to I<plain> which comes closer to the " |
| 375 |
"unfiltered output of B<less>. These settings can be changed in I<~/.config/" |
| 376 |
"bat/config> or by the environment variables B<BAT_STYLE> and B<BAT_THEME>." |
| 377 |
msgstr "" |
| 378 |
"Le filtre peut mettre la syntaxe en évidence en la colorant pour de nombreux " |
| 379 |
"types de fichier. B<nvimpager>(1) sera utilisé pour colorer la sortie, s’il " |
| 380 |
"est installé. À défaut, on se rabattra sur les programmes B<bat>(1)/" |
| 381 |
"B<batcat>(1), B<pygmentize>(1), B<source-highlight>(1), B<vimcolor>(1) ou " |
| 382 |
"B<code2color>. Pour B<bat>(1)/B<batcat>(1), le thème est défini à « ansi » " |
| 383 |
"et le style à « plain », dont l’aspect est similaire à la sortie non filtrée " |
| 384 |
"de B<less>(1). Ces réglages peuvent être redéfinis dans I<~/.config/bat/" |
| 385 |
"config> ou à l’aide des variables d’environnement I<BAT_STYLE> et " |
| 386 |
"I<BAT_THEME>." |
| 387 |
|
| 388 |
#. type: Plain text |
| 389 |
#: archlinux fedora-rawhide |
| 390 |
msgid "" |
| 391 |
"The contents of log files can get colorized if the I<tspin> program is " |
| 392 |
"installed and the string \":log\" is appended to the file name or the file " |
| 393 |
"extension is \"log\"." |
| 394 |
msgstr "" |
| 395 |
|
| 396 |
#. type: Plain text |
| 397 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 398 |
msgid "" |
| 399 |
"Among the colorizers a preferred one can be forced for colorizing by setting " |
| 400 |
"the ENV variable B<LESSCOLORIZER> to the name of the colorizer. For " |
| 401 |
"I<pygmentize> and I<bat>/I<batcat> restricted option settings are allowed as " |
| 402 |
"follows:" |
| 403 |
msgstr "" |
| 404 |
"Il est possible de forcer l’utilisation d’un programme de coloration en " |
| 405 |
"définissant la variable d’environnement I<LESSCOLORIZER> avec le nom du " |
| 406 |
"programme choisi. Pour B<pygmentize>(1) et B<bat>(1)/B<batcat>(1), des " |
| 407 |
"définitions d’option restreintes sont autorisées comme suit :" |
| 408 |
|
| 409 |
#. type: Plain text |
| 410 |
#: archlinux fedora-44 fedora-rawhide |
| 411 |
#, fuzzy, no-wrap |
| 412 |
#| msgid "I<LESSCOLORIZER='bat --style=foo --theme=bar' (default is theme ansi, style plain)>" |
| 413 |
msgid "" |
| 414 |
"I<LESSCOLORIZER='pygmentize -O style=foo' # -P allowed as well>\n" |
| 415 |
"I<LESSCOLORIZER='bat --style=foo --theme=bar' # default: theme=ansi, style=plain>\n" |
| 416 |
msgstr "I<LESSCOLORIZER='bat --style=foo --theme=un_thème' (par défaut, le thème est « ansi » et le style « plain »)>" |
| 417 |
|
| 418 |
#. type: Plain text |
| 419 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 420 |
msgid "" |
| 421 |
"Syntax highlighting is activated, if the environment variable B<LESS> exists " |
| 422 |
"and contains the option I<-R> or less is called with this option. This " |
| 423 |
"guarantees that escape sequences get converted into colors and do not garble " |
| 424 |
"the display. Using the option I<-r> is not recommended, as the screen layout " |
| 425 |
"may be wrong, if long lines are in the output." |
| 426 |
msgstr "" |
| 427 |
"La coloration syntaxique est activée si la variable d’environnement I<LESS> " |
| 428 |
"existe et contient l’option I<-R> ou si B<less>(1) a été invoqué avec cette " |
| 429 |
"option, ce qui garantit que les séquences d’échappement seront converties en " |
| 430 |
"couleurs et n’introduiront pas de « déchets » dans l’affichage. Utiliser " |
| 431 |
"l’option I<-r> est déconseillé, car l’affichage à l’écran pourrait en être " |
| 432 |
"faussé si la sortie contient des lignes de grande longueur." |
| 433 |
|
| 434 |
#. type: Plain text |
| 435 |
#: archlinux fedora-44 fedora-rawhide |
| 436 |
#, fuzzy |
| 437 |
#| msgid "" |
| 438 |
#| "Syntax highlighting can be switched off by appending a colon after the " |
| 439 |
#| "file name, if the output was colorful. If the wrong language was chosen " |
| 440 |
#| "for syntax highlighting, then another one can be forced by appending a " |
| 441 |
#| "colon and a suffix to the file name." |
| 442 |
msgid "" |
| 443 |
"Syntax highlighting can be switched off by appending a colon after the file " |
| 444 |
"name, if the output was colorful. If the wrong language was chosen for " |
| 445 |
"syntax highlighting, then another one can be forced by appending a colon and " |
| 446 |
"a suffix to the file name. The list of suffixes and supported languages can " |
| 447 |
"be printed using the following colorizer commands:" |
| 448 |
msgstr "" |
| 449 |
"Si la sortie est colorée, la mise en évidence de la syntaxe peut être " |
| 450 |
"désactivée en ajoutant un deux-points (:) à la fin du nom de fichier. Si le " |
| 451 |
"langage pris en compte pour la coloration syntaxique n’est pas le bon, il " |
| 452 |
"est possible d’en forcer un autre en ajoutant un deux-points et un suffixe à " |
| 453 |
"la fin du nom de fichier." |
| 454 |
|
| 455 |
#. type: Plain text |
| 456 |
#: archlinux fedora-rawhide |
| 457 |
#, no-wrap |
| 458 |
msgid "" |
| 459 |
"I<bat --list-languages>\n" |
| 460 |
"I<batcat --list-languages>\n" |
| 461 |
"I<pygmentize -L lexers>\n" |
| 462 |
"I<M-x -mode [TAB] within emacs>\n" |
| 463 |
"I<source-highlight --lang-list>\n" |
| 464 |
"I<code2color -h>\n" |
| 465 |
"I<vimcolor -L (both for vimcolor and nvimpager)>\n" |
| 466 |
msgstr "" |
| 467 |
|
| 468 |
#. type: Plain text |
| 469 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 470 |
msgid "" |
| 471 |
"In a pipe that method cannot be used. As a way out a last argument can be " |
| 472 |
"added that gets inspected by B<lesspipe.sh>. A single colon (disengage " |
| 473 |
"filter) or :extension (force language) is possible as e.g with" |
| 474 |
msgstr "" |
| 475 |
"Cette méthode ne peut pas être utilisée dans le cas d’un tube. La solution " |
| 476 |
"consiste alors à ajouter un dernier argument qui sera inspecté par " |
| 477 |
"B<lesspipe.sh>. Un deux-points seul (désactiver le filtre) ou « :extension » " |
| 478 |
"(forcer un langage) peut être ajouté comme dans l’exemple suivant :" |
| 479 |
|
| 480 |
#. type: Plain text |
| 481 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 482 |
msgid "I<command that generates c code | less - :c>" |
| 483 |
msgstr "I<commande qui génère du code c | less - :c>" |
| 484 |
|
| 485 |
#. type: Plain text |
| 486 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 487 |
msgid "" |
| 488 |
"When the conditions for syntax highlighting are met directory listings and " |
| 489 |
"listings of tar file contents get colorized as well." |
| 490 |
msgstr "" |
| 491 |
"Lorsque les conditions nécessaires à la coloration syntaxique sont réunies, " |
| 492 |
"les listages des contenus de répertoire et de fichier I<tar> sont aussi " |
| 493 |
"colorés." |
| 494 |
|
| 495 |
#. type: Plain text |
| 496 |
#: archlinux fedora-44 fedora-rawhide |
| 497 |
#, fuzzy |
| 498 |
#| msgid "" |
| 499 |
#| "As B<less> is used as a default browser in other programs (e.g. I<man>, " |
| 500 |
#| "I<git>, and I<perldoc>)) B<lesspipe.sh> may be engaged and alter the " |
| 501 |
#| "output of those programs." |
| 502 |
msgid "" |
| 503 |
"As B<less> is used as a default browser in other programs (e.g. I<man>, " |
| 504 |
"I<git>, and I<perldoc>) B<lesspipe.sh> may be engaged and alter the output " |
| 505 |
"of those programs." |
| 506 |
msgstr "" |
| 507 |
"B<less>(1) étant utilisé comme navigateur par défaut par certains programmes " |
| 508 |
"(comme B<man>(1), B<git>(1) et B<perldoc>(1)), il est possible que " |
| 509 |
"B<lesspipe.sh> soit invoqué et altère la sortie de ces programmes." |
| 510 |
|
| 511 |
#. type: SH |
| 512 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 513 |
#, no-wrap |
| 514 |
msgid "WATCHING GROWING FILES" |
| 515 |
msgstr "VISUALISER LA CROISSANCE DES FICHIERS" |
| 516 |
|
| 517 |
#. type: Plain text |
| 518 |
#: archlinux fedora-rawhide |
| 519 |
msgid "" |
| 520 |
"The ability to watch growing files (usually wanted for log files like " |
| 521 |
"syslog) (using the F command within less or calling less with the +F " |
| 522 |
"option) may get lost if B<lesspipe.sh> stores the input in a temporary file " |
| 523 |
"for further processing. That can be repaired by adding a colon as the last " |
| 524 |
"argument for B<less> such as e.g." |
| 525 |
msgstr "" |
| 526 |
|
| 527 |
#. type: Plain text |
| 528 |
#: archlinux fedora-44 fedora-rawhide |
| 529 |
#, fuzzy |
| 530 |
#| msgid "I<less /var/log/syslog :>" |
| 531 |
msgid "B<less>I< /var/log/syslog :>" |
| 532 |
msgstr "I<less /var/log/syslog :>" |
| 533 |
|
| 534 |
#. type: Plain text |
| 535 |
#: archlinux fedora-rawhide |
| 536 |
msgid "or if LESSOPEN starts with |- and less is called in a pipe" |
| 537 |
msgstr "" |
| 538 |
|
| 539 |
#. type: Plain text |
| 540 |
#: archlinux fedora-rawhide |
| 541 |
#, fuzzy |
| 542 |
#| msgid "I<less /var/log/syslog :>" |
| 543 |
msgid "B<cat>I< /var/log/syslog | less +F - :>" |
| 544 |
msgstr "I<less /var/log/syslog :>" |
| 545 |
|
| 546 |
#. type: SH |
| 547 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 548 |
#, no-wrap |
| 549 |
msgid "ADVANCED USAGE" |
| 550 |
msgstr "UTILISATION AVANCÉE" |
| 551 |
|
| 552 |
#. type: Plain text |
| 553 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 554 |
msgid "" |
| 555 |
"This version of B<lesspipe.sh> allows you to view individual files contained " |
| 556 |
"in a file archive, which itself may even be contained in another archive." |
| 557 |
msgstr "" |
| 558 |
"Cette version de B<lesspipe.sh> permet de visualiser des fichiers contenus " |
| 559 |
"dans une archive qui peut elle-même être contenue dans une autre archive." |
| 560 |
|
| 561 |
#. type: Plain text |
| 562 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 563 |
msgid "The notation for viewing files in multifile archives is" |
| 564 |
msgstr "" |
| 565 |
"La syntaxe permettant de visualiser des fichiers dans une archive " |
| 566 |
"multifichier est" |
| 567 |
|
| 568 |
#. type: Plain text |
| 569 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 570 |
msgid "B<less> I<archive_file>:I<contained_file>" |
| 571 |
msgstr "B<less> I<archive>:I<fichier>" |
| 572 |
|
| 573 |
#. type: Plain text |
| 574 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 575 |
msgid "or even" |
| 576 |
msgstr "ou même" |
| 577 |
|
| 578 |
#. type: Plain text |
| 579 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 580 |
msgid "B<less> I<super_archive>:I<archive_file>:I<contained_file>" |
| 581 |
msgstr "B<less> I<super_archive>:I<archive>:I<fichier>" |
| 582 |
|
| 583 |
#. type: Plain text |
| 584 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 585 |
msgid "" |
| 586 |
"To display the last file in the chain raw format, a colon (I<:>) has to be " |
| 587 |
"appended to the file name. If it does contain a colon, then the alternate " |
| 588 |
"separator character equal sign (I<=>) has to be used." |
| 589 |
msgstr "" |
| 590 |
"Pour visualiser le dernier fichier de la chaîne dans son format brut, un " |
| 591 |
"deux-points doit être ajouté à la fin du nom de fichier. Si ce nom contient " |
| 592 |
"lui-même un deux-points, le signe égal (=) devra être utilisé comme " |
| 593 |
"caractère séparateur de remplacement." |
| 594 |
|
| 595 |
#. type: Plain text |
| 596 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 597 |
msgid "" |
| 598 |
"Again, this method of extracting and displaying files does not work if " |
| 599 |
"B<less> is called in an output pipe and B<LESSOPEN> starts with the B<|-> " |
| 600 |
"characters. As already for syntax highlighting the solution is to use a " |
| 601 |
"second argument that starts with a colon. Then the above command would be " |
| 602 |
"written as" |
| 603 |
msgstr "" |
| 604 |
"Une fois encore, cette méthode d’extraction et de visualisation d’un fichier " |
| 605 |
"ne fonctionne pas si l’entrée de B<less>(1) est un tube et si I<LESSOPEN> " |
| 606 |
"commence par les caractères « |- ». Comme pour la coloration syntaxique, la " |
| 607 |
"solution consiste à utiliser un second argument qui commence par un deux-" |
| 608 |
"points « : ». La commande de l’exemple précédent s’écrira alors" |
| 609 |
|
| 610 |
#. type: Plain text |
| 611 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 612 |
msgid "B<cat >I<super_archive>B< | less - :>I<archive>B<:>I<contained_file>" |
| 613 |
msgstr "B<cat >I<super_archive>B< | less - :>I<archive>B<:>I<fichier>" |
| 614 |
|
| 615 |
#. type: SH |
| 616 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 617 |
#, no-wrap |
| 618 |
msgid "COMPLETING MECHANISM FOR ARCHIVE CONTENTS" |
| 619 |
msgstr "MÉCANISME DE COMPLÉTION POUR LE CONTENU DES ARCHIVES" |
| 620 |
|
| 621 |
#. type: Plain text |
| 622 |
#: archlinux fedora-44 fedora-rawhide |
| 623 |
#, fuzzy |
| 624 |
#| msgid "" |
| 625 |
#| "With the provided I<lesscomplete> (for B<zsh> and B<bash>), I<_less> (for " |
| 626 |
#| "B<zsh>) and I<less_completion> (for B<bash>) files a tab completion for " |
| 627 |
#| "files in archives can be accomplished. Entering a colon (:) or an equal " |
| 628 |
#| "sign (=) after an archive file name and then pressing the tab key " |
| 629 |
#| "triggers the completion mechanism. This also works in chained archives. " |
| 630 |
#| "The files I<lesscomplete> and I<less_completion> have to be in one of the " |
| 631 |
#| "directories listed in B<$PATH> and the function I<_less> for B<zsh> in a " |
| 632 |
#| "directory listed by I<$fpath>. The less_completion script has to be " |
| 633 |
#| "sourced within a bash initialization script, e.g. in I<~/.bashrc>. New " |
| 634 |
#| "directories such as I<~/scripts> and I<~/.fpath> can be added using the " |
| 635 |
#| "commands" |
| 636 |
msgid "" |
| 637 |
"With the provided I<lesscomplete> file (for B<zsh> and B<bash>) and the " |
| 638 |
"I<_less> (for B<zsh>) and I<less> (for B<bash>) files generated during " |
| 639 |
"installation a tab completion for files in archives can be accomplished. " |
| 640 |
"Entering a colon (:) or an equal sign (=) after an archive file name and " |
| 641 |
"then pressing the tab key triggers the completion mechanism. This also " |
| 642 |
"works in chained archives. The files required for the completion algorithm " |
| 643 |
"get installed in directories according the choices made during the " |
| 644 |
"installation (configure script)." |
| 645 |
msgstr "" |
| 646 |
"Il est possible d’effectuer une complétion des noms de fichier par " |
| 647 |
"tabulation au sein d’une archive en utilisant les fichiers I<lesscomplete> " |
| 648 |
"(pour B<zsh>(1) et B<bash>(1)), I<_less> (pour B<zsh>(1)) et " |
| 649 |
"I<less_completion> (pour B<bash>(1)). Taper un deux-points « : » ou un signe " |
| 650 |
"égal « = » après un nom d’archive puis presser la touche tabulation " |
| 651 |
"déclenche le mécanisme de complétion. Cette méthode fonctionne aussi pour " |
| 652 |
"les archives chaînées. Les fichiers I<lesscomplete> et I<less_completion> " |
| 653 |
"doivent se trouver dans un des répertoires listés dans I<$PATH> et la " |
| 654 |
"fonction I<_less> pour B<zsh>(1) dans un répertoire listé dans I<$fpath>. Le " |
| 655 |
"script B<less_completion> doit être invoqué depuis un script " |
| 656 |
"d’initialisation de B<bash>(1), par exemple I<~/.bashrc>. De nouveaux " |
| 657 |
"répertoires tels que I<~/scripts> et I<~/.fpath> peuvent être ajoutés à " |
| 658 |
"l’aide des commandes" |
| 659 |
|
| 660 |
#. type: Plain text |
| 661 |
#: archlinux fedora-44 fedora-rawhide |
| 662 |
#, fuzzy |
| 663 |
#| msgid "" |
| 664 |
#| "With the provided I<lesscomplete> (for B<zsh> and B<bash>), I<_less> (for " |
| 665 |
#| "B<zsh>) and I<less_completion> (for B<bash>) files a tab completion for " |
| 666 |
#| "files in archives can be accomplished. Entering a colon (:) or an equal " |
| 667 |
#| "sign (=) after an archive file name and then pressing the tab key " |
| 668 |
#| "triggers the completion mechanism. This also works in chained archives. " |
| 669 |
#| "The files I<lesscomplete> and I<less_completion> have to be in one of the " |
| 670 |
#| "directories listed in B<$PATH> and the function I<_less> for B<zsh> in a " |
| 671 |
#| "directory listed by I<$fpath>. The less_completion script has to be " |
| 672 |
#| "sourced within a bash initialization script, e.g. in I<~/.bashrc>. New " |
| 673 |
#| "directories such as I<~/scripts> and I<~/.fpath> can be added using the " |
| 674 |
#| "commands" |
| 675 |
msgid "" |
| 676 |
"The file I<lesscomplete> has to be in one of the directories listed in " |
| 677 |
"B<$PATH> and the function I<_less> for B<zsh> in a directory listed by " |
| 678 |
"I<$fpath>. The file I<less> with completion instructions for bash has to be " |
| 679 |
"sourced within a bash initialization script, e.g. in I<~/.bashrc>. New " |
| 680 |
"directories such as I<~/scripts> and I<~/.fpath> (for zsh) can be added " |
| 681 |
"using the commands" |
| 682 |
msgstr "" |
| 683 |
"Il est possible d’effectuer une complétion des noms de fichier par " |
| 684 |
"tabulation au sein d’une archive en utilisant les fichiers I<lesscomplete> " |
| 685 |
"(pour B<zsh>(1) et B<bash>(1)), I<_less> (pour B<zsh>(1)) et " |
| 686 |
"I<less_completion> (pour B<bash>(1)). Taper un deux-points « : » ou un signe " |
| 687 |
"égal « = » après un nom d’archive puis presser la touche tabulation " |
| 688 |
"déclenche le mécanisme de complétion. Cette méthode fonctionne aussi pour " |
| 689 |
"les archives chaînées. Les fichiers I<lesscomplete> et I<less_completion> " |
| 690 |
"doivent se trouver dans un des répertoires listés dans I<$PATH> et la " |
| 691 |
"fonction I<_less> pour B<zsh>(1) dans un répertoire listé dans I<$fpath>. Le " |
| 692 |
"script B<less_completion> doit être invoqué depuis un script " |
| 693 |
"d’initialisation de B<bash>(1), par exemple I<~/.bashrc>. De nouveaux " |
| 694 |
"répertoires tels que I<~/scripts> et I<~/.fpath> peuvent être ajoutés à " |
| 695 |
"l’aide des commandes" |
| 696 |
|
| 697 |
#. type: Plain text |
| 698 |
#: archlinux fedora-44 fedora-rawhide |
| 699 |
#, fuzzy |
| 700 |
#| msgid "B<PATH>=I<~/scripts:$PATH> and B<fpath>=I<(~/.fpath $fpath)>" |
| 701 |
msgid "" |
| 702 |
"B<PATH>=I<~/scripts:$PATH> # (lesspipe.sh, less) and B<fpath>=I<(~/.fpath " |
| 703 |
"$fpath)> # (_less, zsh only)" |
| 704 |
msgstr "B<PATH>=I<~/scripts:$PATH> et B<fpath>=I<(~/.fpath $fpath)>" |
| 705 |
|
| 706 |
#. type: Plain text |
| 707 |
#: archlinux fedora-44 fedora-rawhide |
| 708 |
msgid "" |
| 709 |
"In B<zsh>, I<compinit> has to be called and the menucomplete option has to " |
| 710 |
"be set if not yet done. That can be achieved with the commands" |
| 711 |
msgstr "" |
| 712 |
|
| 713 |
#. type: Plain text |
| 714 |
#: archlinux fedora-44 fedora-rawhide |
| 715 |
#, no-wrap |
| 716 |
msgid "" |
| 717 |
"I<autoload compinit>\n" |
| 718 |
"I<compinit -Uz>\n" |
| 719 |
"I<setopt menucomplete>\n" |
| 720 |
msgstr "" |
| 721 |
|
| 722 |
#. type: Plain text |
| 723 |
#: archlinux fedora-44 fedora-rawhide |
| 724 |
msgid "" |
| 725 |
"In B<bash>, the I<bash-completion> (usually a package with that name) has " |
| 726 |
"to be installed" |
| 727 |
msgstr "" |
| 728 |
|
| 729 |
#. type: SH |
| 730 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 731 |
#, no-wrap |
| 732 |
msgid "USER DEFINED FILTERING" |
| 733 |
msgstr "FILTRAGE DÉFINI PAR L’UTILISATEUR" |
| 734 |
|
| 735 |
#. type: Plain text |
| 736 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 737 |
msgid "" |
| 738 |
"The lesspipe.sh filtering can be replaced or enhanced by a user defined " |
| 739 |
"program. Such a program has to be called either B<.lessfilter> (and be " |
| 740 |
"placed in the users home directory), or B<lessfilter> (and be accessible " |
| 741 |
"from a directory mentioned in B<$PATH>). It has to be executable and has to " |
| 742 |
"end with an exit code 0, if the filtering was done within that script. " |
| 743 |
"Otherwise, a nonzero exit code means the filtering is left to lesspipe.sh." |
| 744 |
msgstr "" |
| 745 |
"Le filtrage B<lesspipe.sh> peut être amélioré ou remplacé par un programme " |
| 746 |
"défini par l’utilisateur. Un tel programme doit avoir pour nom " |
| 747 |
"I<.lessfilter> (et être placé dans le répertoire personnel de l’utilisateur) " |
| 748 |
"ou I<lessfilter> (et être accessible depuis un répertoire listé dans " |
| 749 |
"I<$PATH>). Il doit être exécutable et quitter avec un code de retour de B<0> " |
| 750 |
"si le filtrage a été effectué dans ce script. Dans le cas contraire, un code " |
| 751 |
"de retour différent de zéro signifiera que le filtrage est confié à " |
| 752 |
"B<lesspipe.sh>." |
| 753 |
|
| 754 |
#. type: Plain text |
| 755 |
#: archlinux fedora-44 fedora-rawhide |
| 756 |
#, fuzzy |
| 757 |
#| msgid "" |
| 758 |
#| "This mechanism can be used to add filtering for new formats or e.g. " |
| 759 |
#| "inhibit filtering for certain file types." |
| 760 |
msgid "" |
| 761 |
"This mechanism can be used to add filtering for new formats or e.g. inhibit " |
| 762 |
"filtering for certain file types. A sample .lessfilter could look as follows:" |
| 763 |
msgstr "" |
| 764 |
"Ce mécanisme permet d’ajouter des filtres pour de nouveaux formats ou, par " |
| 765 |
"exemple, de désactiver le filtrage pour certains types de fichier." |
| 766 |
|
| 767 |
#. type: Plain text |
| 768 |
#: archlinux fedora-44 fedora-rawhide |
| 769 |
#, no-wrap |
| 770 |
msgid "" |
| 771 |
"I<#!/usr/bin/env bash>\n" |
| 772 |
"I<case $1 in>\n" |
| 773 |
"I<*.md|*.MD|*.mkd|*.markdown|*.rst)>\n" |
| 774 |
"I<# if the python module rich.markdown is not found then>\n" |
| 775 |
"I<# the exit code is not null and lesspipe.sh is called>\n" |
| 776 |
"I<python3 -m rich.markdown -c $1 ;;>\n" |
| 777 |
"I<*.html|*.htm)>\n" |
| 778 |
"I<# call your favorite html beautifier, cat -b is just a boring example>\n" |
| 779 |
"I<cat -b $1 ;;>\n" |
| 780 |
"I<*)>\n" |
| 781 |
"I<exit 1;;>\n" |
| 782 |
"I<esac>\n" |
| 783 |
msgstr "" |
| 784 |
|
| 785 |
#. type: SH |
| 786 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 787 |
#: mageia-cauldron |
| 788 |
#, no-wrap |
| 789 |
msgid "AUTHOR" |
| 790 |
msgstr "AUTEUR" |
| 791 |
|
| 792 |
#. type: Plain text |
| 793 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 794 |
msgid "Wolfgang Friebel" |
| 795 |
msgstr "Wolfgang Friebel" |
| 796 |
|
| 797 |
#. type: SH |
| 798 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 799 |
#, no-wrap |
| 800 |
msgid "REPORTING BUGS" |
| 801 |
msgstr "SIGNALER DES BOGUES" |
| 802 |
|
| 803 |
#. type: Plain text |
| 804 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 805 |
msgid "Report bugs to E<lt>wp.friebel AT gmail DOT comE<gt>." |
| 806 |
msgstr "Envoyez vos rapports de bogue à E<lt>wp.friebel AT gmail DOT comE<gt>." |
| 807 |
|
| 808 |
#. type: SH |
| 809 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 810 |
#, no-wrap |
| 811 |
msgid "COPYRIGHT" |
| 812 |
msgstr "COPYRIGHT" |
| 813 |
|
| 814 |
#. type: Plain text |
| 815 |
#: archlinux fedora-rawhide |
| 816 |
#, fuzzy |
| 817 |
#| msgid "Copyright \\(co 2005-2024 Wolfgang Friebel" |
| 818 |
msgid "Copyright \\(co 2005-2026 Wolfgang Friebel" |
| 819 |
msgstr "Copyright \\(co 2005-2024 Wolfgang Friebel" |
| 820 |
|
| 821 |
#. type: Plain text |
| 822 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron |
| 823 |
msgid "" |
| 824 |
"This is free software; see the source for copying conditions. There is NO " |
| 825 |
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
| 826 |
msgstr "" |
| 827 |
"C'est un logiciel libre ; consultez les sources pour les conditions de " |
| 828 |
"copie. Il n'y a AUCUNE garantie ; même pas de VALEUR MARCHANDE ou " |
| 829 |
"d'ADÉQUATION À UNE UTILISATION PARTICULIÈRE." |
| 830 |
|
| 831 |
#. type: SH |
| 832 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 833 |
#: mageia-cauldron |
| 834 |
#, no-wrap |
| 835 |
msgid "SEE ALSO" |
| 836 |
msgstr "VOIR AUSSI" |
| 837 |
|
| 838 |
#. type: Plain text |
| 839 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 840 |
#: mageia-cauldron |
| 841 |
msgid "less(1)" |
| 842 |
msgstr "B<less>(1)" |
| 843 |
|
| 844 |
#. type: Plain text |
| 845 |
#: archlinux fedora-44 fedora-rawhide |
| 846 |
#, fuzzy |
| 847 |
#| msgid "" |
| 848 |
#| "A description of B<lesspipe.sh> is also contained in the file README " |
| 849 |
#| "contained in the source code package" |
| 850 |
msgid "" |
| 851 |
"A description of B<lesspipe.sh> can also be found in the file README " |
| 852 |
"contained in the source code package" |
| 853 |
msgstr "" |
| 854 |
"Une description de B<lesspipe.sh> se trouve aussi dans le fichier I<README> " |
| 855 |
"contenu dans le paquet source." |
| 856 |
|
| 857 |
#. type: TH |
| 858 |
#: debian-trixie debian-unstable |
| 859 |
#, no-wrap |
| 860 |
msgid "LESSOPEN" |
| 861 |
msgstr "I<LESSOPEN>" |
| 862 |
|
| 863 |
#. type: Plain text |
| 864 |
#: debian-trixie debian-unstable |
| 865 |
msgid "lessfile, lesspipe - \"input preprocessor\" for less." |
| 866 |
msgstr "lessfile, lesspipe — « Préprocesseur d’entrée » pour B<less>(1)" |
| 867 |
|
| 868 |
#. type: Plain text |
| 869 |
#: debian-trixie debian-unstable |
| 870 |
msgid "B<lessfile, lesspipe>" |
| 871 |
msgstr "B<lessfile, lesspipe>" |
| 872 |
|
| 873 |
#. type: Plain text |
| 874 |
#: debian-trixie debian-unstable |
| 875 |
msgid "" |
| 876 |
"This manual page documents briefly the I<lessfile>, and I<lesspipe> " |
| 877 |
"commands. This manual page was written for the Debian GNU/Linux " |
| 878 |
"distribution because the input preprocessor scripts are provided by Debian " |
| 879 |
"GNU/Linux and are not part of the original program." |
| 880 |
msgstr "" |
| 881 |
"Cette page de manuel décrit brièvement les commandes B<lessfile>(1) et " |
| 882 |
"B<lesspipe>(1). Elle a été écrite pour la distribution Debian GNU/Linux " |
| 883 |
"parce que les scripts du préprocesseur d’entrée sont fournis par Debian GNU/" |
| 884 |
"Linux et ne font pas partie du programme original." |
| 885 |
|
| 886 |
#. type: Plain text |
| 887 |
#: debian-trixie debian-unstable |
| 888 |
msgid "" |
| 889 |
"I<lessfile> and I<lesspipe> are programs that can be used to modify the way " |
| 890 |
"the contents of a file are displayed in I<less.> What this means is that " |
| 891 |
"I<less> can automatically open up tar files, uncompress gzipped files, and " |
| 892 |
"even display something reasonable for graphics files." |
| 893 |
msgstr "" |
| 894 |
"B<lessfile>(1) et B<lesspipe>(1) sont des programmes qui permettent de " |
| 895 |
"modifier la manière dont le contenu d’un fichier sera affiché dans " |
| 896 |
"B<less>(1). Cela signifie que B<less>(1) peut ouvrir automatiquement des " |
| 897 |
"fichiers I<tar>, décompresser des fichiers compressés avec B<gzip>(1) et " |
| 898 |
"même afficher quelque chose d’acceptable avec des fichiers graphiques." |
| 899 |
|
| 900 |
#. type: Plain text |
| 901 |
#: debian-trixie debian-unstable |
| 902 |
msgid "" |
| 903 |
"I<lesspipe> will toss the contents/info on STDOUT and I<less> will read them " |
| 904 |
"as they come across. This means that you do not have to wait for the " |
| 905 |
"decoding to finish before less shows you the file. This also means that you " |
| 906 |
"will get a 'byte N' instead of an N% as your file position. You can seek to " |
| 907 |
"the end and back to get the N% but that means you have to wait for the pipe " |
| 908 |
"to finish." |
| 909 |
msgstr "" |
| 910 |
"B<lesspipe>(1) va délivrer le contenu du fichier et les informations sur la " |
| 911 |
"sortie standard et B<less>(1) les lira au fur et à mesure de leur arrivée. " |
| 912 |
"Cela signifie que vous ne serez pas obligé d’attendre la fin du décodage " |
| 913 |
"pour visualiser le fichier. Cela implique aussi que vous obtiendrez un " |
| 914 |
"« byte N » au lieu d’un « N% » pour indiquer votre position dans le fichier. " |
| 915 |
"Vous pouvez aller à la fin du fichier et revenir à votre position initiale " |
| 916 |
"pour obtenir le « N% », mais pour cela, vous devrez attendre que la sortie " |
| 917 |
"du tube ne délivre plus de données." |
| 918 |
|
| 919 |
#. type: Plain text |
| 920 |
#: debian-trixie debian-unstable |
| 921 |
msgid "" |
| 922 |
"I<lessfile> will toss the contents/info on a file which I<less> will then " |
| 923 |
"read. After you are done, I<lessfile> will then delete the file. This " |
| 924 |
"means that the process has to finish before you see it, but you get nice " |
| 925 |
"percentages (N%) up front." |
| 926 |
msgstr "" |
| 927 |
"B<lessfile>(1) va écrire le contenu et les informations dans un fichier que " |
| 928 |
"B<less>(1) pourra lire. Une fois terminé, B<lessfile>(1) supprimera le " |
| 929 |
"fichier. Cela signifie que vous devrez attendre que le processus d’écriture " |
| 930 |
"se termine pour pouvoir visualiser le fichier, mais vous aurez alors devant " |
| 931 |
"vous un magnifique pourcentage « N% »." |
| 932 |
|
| 933 |
#. type: SH |
| 934 |
#: debian-trixie debian-unstable |
| 935 |
#, no-wrap |
| 936 |
msgid "USAGE" |
| 937 |
msgstr "UTILISATION" |
| 938 |
|
| 939 |
#. type: Plain text |
| 940 |
#: debian-trixie debian-unstable |
| 941 |
msgid "" |
| 942 |
"Just put one of the following two commands in your login script (e.g. " |
| 943 |
"~/.bash_profile):" |
| 944 |
msgstr "" |
| 945 |
"Ajoutez simplement une des deux commandes suivantes à votre script de " |
| 946 |
"connexion (par exemple I<~/.bash_profile>) :" |
| 947 |
|
| 948 |
#. type: Plain text |
| 949 |
#: debian-trixie debian-unstable |
| 950 |
#, no-wrap |
| 951 |
msgid " eval \"$(lessfile)\"\n" |
| 952 |
msgstr " eval \"$(lessfile)\"\n" |
| 953 |
|
| 954 |
#. type: Plain text |
| 955 |
#: debian-trixie debian-unstable |
| 956 |
msgid "or" |
| 957 |
msgstr "ou" |
| 958 |
|
| 959 |
#. type: Plain text |
| 960 |
#: debian-trixie debian-unstable |
| 961 |
#, no-wrap |
| 962 |
msgid " eval \"$(lesspipe)\"\n" |
| 963 |
msgstr " eval \"$(lesspipe)\"\n" |
| 964 |
|
| 965 |
#. type: SH |
| 966 |
#: debian-trixie debian-unstable |
| 967 |
#, no-wrap |
| 968 |
msgid "FILE TYPE RECOGNITION" |
| 969 |
msgstr "RECONNAISSANCE DU TYPE DE FICHIER" |
| 970 |
|
| 971 |
#. type: Plain text |
| 972 |
#: debian-trixie debian-unstable |
| 973 |
msgid "" |
| 974 |
"File types are recognized by their extensions. This is a list of currently " |
| 975 |
"supported extensions (grouped by the programs that handle them):" |
| 976 |
msgstr "" |
| 977 |
"Les types de fichier sont reconnus par leur extension. Voici une liste des " |
| 978 |
"extensions actuellement prises en charge (groupées selon les programmes qui " |
| 979 |
"les gèrent) :" |
| 980 |
|
| 981 |
#. type: Plain text |
| 982 |
#: debian-trixie debian-unstable |
| 983 |
#, no-wrap |
| 984 |
msgid "" |
| 985 |
" *.a\n" |
| 986 |
" *.arj\n" |
| 987 |
" *.tar.bz2\n" |
| 988 |
" *.bz\n" |
| 989 |
" *.bz2\n" |
| 990 |
" *.deb, *.udeb, *.ddeb\n" |
| 991 |
" *.doc\n" |
| 992 |
" *.egg\n" |
| 993 |
" *.gif, *.jpeg, *.jpg, *.pcd, *.png, *.tga, *.tiff, *.tif\n" |
| 994 |
" *.iso, *.raw, *.bin\n" |
| 995 |
" *.lha, *.lzh\n" |
| 996 |
" *.tar.lz, *.tlz\n" |
| 997 |
" *.lz\n" |
| 998 |
" *.7z\n" |
| 999 |
" *.pdf\n" |
| 1000 |
" *.rar, *.r[0-9][0-9]\n" |
| 1001 |
" *.rpm\n" |
| 1002 |
" *.tar.gz, *.tgz, *.tar.z, *.tar.dz\n" |
| 1003 |
" *.gz, *.z, *.dz\n" |
| 1004 |
" *.tar\n" |
| 1005 |
" *.tar.xz, *.xz\n" |
| 1006 |
" *.whl\n" |
| 1007 |
" *.jar, *.war, *.xpi, *.zip\n" |
| 1008 |
" *.zoo\n" |
| 1009 |
" *.tar.zst, *.tzst\n" |
| 1010 |
" *.zst\n" |
| 1011 |
msgstr "" |
| 1012 |
" *.a\n" |
| 1013 |
" *.arj\n" |
| 1014 |
" *.tar.bz2\n" |
| 1015 |
" *.bz\n" |
| 1016 |
" *.bz2\n" |
| 1017 |
" *.deb, *.udeb, *.ddeb\n" |
| 1018 |
" *.doc\n" |
| 1019 |
" *.egg\n" |
| 1020 |
" *.gif, *.jpeg, *.jpg, *.pcd, *.png, *.tga, *.tiff, *.tif\n" |
| 1021 |
" *.iso, *.raw, *.bin\n" |
| 1022 |
" *.lha, *.lzh\n" |
| 1023 |
" *.tar.lz, *.tlz\n" |
| 1024 |
" *.lz\n" |
| 1025 |
" *.7z\n" |
| 1026 |
" *.pdf\n" |
| 1027 |
" *.rar, *.r[0-9][0-9]\n" |
| 1028 |
" *.rpm\n" |
| 1029 |
" *.tar.gz, *.tgz, *.tar.z, *.tar.dz\n" |
| 1030 |
" *.gz, *.z, *.dz\n" |
| 1031 |
" *.tar\n" |
| 1032 |
" *.tar.xz, *.xz\n" |
| 1033 |
" *.whl\n" |
| 1034 |
" *.jar, *.war, *.xpi, *.zip\n" |
| 1035 |
" *.zoo\n" |
| 1036 |
" *.tar.zst, *.tzst\n" |
| 1037 |
" *.zst\n" |
| 1038 |
|
| 1039 |
#. type: SH |
| 1040 |
#: debian-trixie debian-unstable |
| 1041 |
#, no-wrap |
| 1042 |
msgid "USER DEFINED FILTERS" |
| 1043 |
msgstr "FILTRES DÉFINIS PAR L’UTILISATEUR" |
| 1044 |
|
| 1045 |
#. type: Plain text |
| 1046 |
#: debian-trixie debian-unstable |
| 1047 |
msgid "" |
| 1048 |
"It is possible to extend and overwrite the default I<lesspipe> and " |
| 1049 |
"I<lessfile> input processor if you have specialized requirements. Create an " |
| 1050 |
"executable program with the name I<.lessfilter> and put it into your home " |
| 1051 |
"directory. This can be a shell script or a binary program." |
| 1052 |
msgstr "" |
| 1053 |
"Si vous avez des besoins particuliers, vous pouvez enrichir ou remplacer les " |
| 1054 |
"processeurs d’entrée B<lesspipe>(1) et B<lessfile>(1). Pour ce faire, créez " |
| 1055 |
"un programme exécutable nommé I<.lessfilter> et placez-le dans votre " |
| 1056 |
"répertoire personnel. Il peut s’agir d’un script de l’interpréteur de " |
| 1057 |
"commande ou d’un programme binaire." |
| 1058 |
|
| 1059 |
#. type: Plain text |
| 1060 |
#: debian-trixie debian-unstable |
| 1061 |
msgid "" |
| 1062 |
"It is important that this program returns the correct exit code: return 0 if " |
| 1063 |
"your filter handles the input, return 1 if the standard I<lesspipe/lessfile> " |
| 1064 |
"filter should handle the input." |
| 1065 |
msgstr "" |
| 1066 |
"Il est important que ce programme renvoie un code de retour correct : " |
| 1067 |
"B<0> si c’est votre filtre qui traite l’entrée, B<1> si c’est le filtre " |
| 1068 |
"standard B<lesspipe/lessfile> qui doit le faire." |
| 1069 |
|
| 1070 |
#. type: Plain text |
| 1071 |
#: debian-trixie debian-unstable |
| 1072 |
msgid "Here is an example script:" |
| 1073 |
msgstr "Voici un exemple de script :" |
| 1074 |
|
| 1075 |
#. type: Plain text |
| 1076 |
#: debian-trixie debian-unstable |
| 1077 |
#, no-wrap |
| 1078 |
msgid " #!/bin/sh\n" |
| 1079 |
msgstr " #!/bin/sh\n" |
| 1080 |
|
| 1081 |
#. type: Plain text |
| 1082 |
#: debian-trixie debian-unstable |
| 1083 |
#, no-wrap |
| 1084 |
msgid "" |
| 1085 |
" case \"$1\" in\n" |
| 1086 |
" *.extension)\n" |
| 1087 |
" extension-handler \"$1\"\n" |
| 1088 |
" ;;\n" |
| 1089 |
" *)\n" |
| 1090 |
" # We don't handle this format.\n" |
| 1091 |
" exit 1\n" |
| 1092 |
" esac\n" |
| 1093 |
msgstr "" |
| 1094 |
" case \"$1\" in\n" |
| 1095 |
" *.extension)\n" |
| 1096 |
" extension-handler \"$1\"\n" |
| 1097 |
" ;;\n" |
| 1098 |
" *)\n" |
| 1099 |
" # Nous ne traitons pas ce format.\n" |
| 1100 |
" exit 1\n" |
| 1101 |
" esac\n" |
| 1102 |
|
| 1103 |
#. type: Plain text |
| 1104 |
#: debian-trixie debian-unstable |
| 1105 |
#, no-wrap |
| 1106 |
msgid "" |
| 1107 |
" # No further processing by lesspipe necessary\n" |
| 1108 |
" exit 0\n" |
| 1109 |
msgstr "" |
| 1110 |
" # Aucun traitement ultérieur par lesspipe n’est nécessaire\n" |
| 1111 |
" exit 0\n" |
| 1112 |
|
| 1113 |
#. type: SH |
| 1114 |
#: debian-trixie debian-unstable |
| 1115 |
#, no-wrap |
| 1116 |
msgid "FILES" |
| 1117 |
msgstr "FICHIERS" |
| 1118 |
|
| 1119 |
#. type: TP |
| 1120 |
#: debian-trixie debian-unstable |
| 1121 |
#, no-wrap |
| 1122 |
msgid "I<~/.lessfilter>" |
| 1123 |
msgstr "I<~/.lessfilter>" |
| 1124 |
|
| 1125 |
#. type: Plain text |
| 1126 |
#: debian-trixie debian-unstable |
| 1127 |
msgid "" |
| 1128 |
"Executable file that can do user defined processing. See section USER " |
| 1129 |
"DEFINED FILTERS for more information." |
| 1130 |
msgstr "" |
| 1131 |
"Le fichier exécutable qui effectue un traitement défini par l’utilisateur. " |
| 1132 |
"Voir la section FILTRES DÉFINIS PAR L’UTILISATEUR pour plus de détails." |
| 1133 |
|
| 1134 |
#. type: SH |
| 1135 |
#: debian-trixie debian-unstable |
| 1136 |
#, no-wrap |
| 1137 |
msgid "BUGS" |
| 1138 |
msgstr "BOGUES" |
| 1139 |
|
| 1140 |
#. type: Plain text |
| 1141 |
#: debian-trixie debian-unstable |
| 1142 |
msgid "" |
| 1143 |
"Sometimes, less does not display the contents file you want to view but " |
| 1144 |
"output that is produced by your login scripts (~/.bashrc or " |
| 1145 |
"~/.bash_profile). This happens because less uses your current shell to run " |
| 1146 |
"the lesspipe filter. Bash first looks for the variable $BASH_ENV in the " |
| 1147 |
"environment expands its value and uses the expanded value as the name of a " |
| 1148 |
"file to read and execute. If this file produces any output less will display " |
| 1149 |
"this. A way to solve this problem is to put the following lines on the top " |
| 1150 |
"of your login script that produces output:" |
| 1151 |
msgstr "" |
| 1152 |
"Parfois, B<less>(1) affiche ce que génère votre script de connexion " |
| 1153 |
"(I<~/.bashrc> ou I<~/.bash_profile>) à la place du contenu du fichier que " |
| 1154 |
"vous souhaitez visualiser. Cela est dû au fait que B<less>(1) utilise votre " |
| 1155 |
"interpréteur de commande actuel pour exécuter le filtre B<lesspipe>. " |
| 1156 |
"B<bash>(1) recherche tout d’abord la variable I<BASH_ENV> dans " |
| 1157 |
"l’environnement, en extrait la valeur et utilise cette dernière comme nom " |
| 1158 |
"d’un fichier à lire et exécuter. Si ce fichier génère une sortie, B<less>(1) " |
| 1159 |
"l’affichera. Une solution à ce problème consiste à ajouter les lignes " |
| 1160 |
"suivantes au début du script de connexion qui génère une sortie :" |
| 1161 |
|
| 1162 |
#. type: Plain text |
| 1163 |
#: debian-trixie debian-unstable |
| 1164 |
#, no-wrap |
| 1165 |
msgid "" |
| 1166 |
" if [ -z \"$PS1\" ]; then\n" |
| 1167 |
" exit\n" |
| 1168 |
" fi\n" |
| 1169 |
msgstr "" |
| 1170 |
" if [ -z \"$PS1\" ]; then\n" |
| 1171 |
" exit\n" |
| 1172 |
" fi\n" |
| 1173 |
|
| 1174 |
#. type: Plain text |
| 1175 |
#: debian-trixie debian-unstable |
| 1176 |
msgid "" |
| 1177 |
"This tests whether the prompt variable $PS1 is set and if it isn't (which is " |
| 1178 |
"the case for non-interactive shells) it will exit the script." |
| 1179 |
msgstr "" |
| 1180 |
"Ces lignes vérifient si la variable d’invite I<$PS1> est définie et si elle " |
| 1181 |
"ne l’est pas (ce qui est le cas pour les interpréteurs de commande non " |
| 1182 |
"interactifs), l’exécution du script se termine." |
| 1183 |
|
| 1184 |
#. type: Plain text |
| 1185 |
#: debian-trixie debian-unstable |
| 1186 |
msgid "" |
| 1187 |
"This manual page was written by Thomas Schoepf E<lt>[email protected]<gt>, " |
| 1188 |
"for the Debian GNU/Linux system (but may be used by others). Most of the " |
| 1189 |
"text was copied from a description written by Darren Stalder " |
| 1190 |
"E<lt>[email protected]<gt>." |
| 1191 |
msgstr "" |
| 1192 |
"Cette page de manuel a été écrite par Thomas Schoepf " |
| 1193 |
"E<lt>[email protected]<gt> pour le système Debian GNU/Linux (mais peut " |
| 1194 |
"être utilisée pour d’autres systèmes). La plus grande partie du texte " |
| 1195 |
"provient d’une description écrite par Darren Stalder " |
| 1196 |
"E<lt>[email protected]<gt>." |
| 1197 |
|
| 1198 |
#. type: TH |
| 1199 |
#: fedora-44 |
| 1200 |
#, no-wrap |
| 1201 |
msgid "December 2025" |
| 1202 |
msgstr "Décembre 2025" |
| 1203 |
|
| 1204 |
#. type: Plain text |
| 1205 |
#: fedora-44 mageia-cauldron |
| 1206 |
msgid "" |
| 1207 |
"Files in the I<html>, I<xml> and I<perl pod> format are always rendered. " |
| 1208 |
"Sometimes however the original contents of the file should be viewed " |
| 1209 |
"instead. As mentioned before that can be achieved by appending a colon to " |
| 1210 |
"the file name. If the correct file type (I<html>, I<xml>, I<pod>) follows, " |
| 1211 |
"the output can get colorized (see also the section below)." |
| 1212 |
msgstr "" |
| 1213 |
"Les fichiers au format I<html>, I<xml> ou I<perl pod> sont toujours " |
| 1214 |
"correctement affichés. Cependant, il sera parfois plutôt souhaitable de " |
| 1215 |
"visualiser le contenu original du fichier. Pour ce faire, comme indiqué ci-" |
| 1216 |
"avant, ajouter un deux-points à la fin du nom de fichier. Si le type de " |
| 1217 |
"fichier correct (I<html>, I<xml>, I<pod>) suit, la sortie pourra être " |
| 1218 |
"colorée (voir aussi la section ci-après)." |
| 1219 |
|
| 1220 |
#. type: Plain text |
| 1221 |
#: fedora-44 mageia-cauldron |
| 1222 |
msgid "" |
| 1223 |
"The filter is able to do syntax highlighting for a wide variety of file " |
| 1224 |
"types. If installed, I<nvimpager> is used for colorizing the output. If not, " |
| 1225 |
"I<bat>/I<batcat>, I<pygmentize>, I<source-highlight>, I<vimcolor> and " |
| 1226 |
"I<code2color> are tried in turn. For bat/batcat the theme is set to I<ansi> " |
| 1227 |
"and the style is set to I<plain> which comes closer to the unfiltered output " |
| 1228 |
"of B<less>. These settings can be changed in I<~/.config/bat/config> or by " |
| 1229 |
"the environment variables B<BAT_STYLE> and B<BAT_THEME>." |
| 1230 |
msgstr "" |
| 1231 |
"Le filtre peut mettre la syntaxe en évidence en la colorant pour de nombreux " |
| 1232 |
"types de fichier. B<nvimpager>(1) sera utilisé pour colorer la sortie, s’il " |
| 1233 |
"est installé. À défaut, on se rabattra sur les programmes B<bat>(1)/" |
| 1234 |
"B<batcat>(1), B<pygmentize>(1), B<source-highlight>(1), B<vimcolor>(1) ou " |
| 1235 |
"B<code2color>. Pour B<bat>(1)/B<batcat>(1), le thème est défini à « ansi » " |
| 1236 |
"et le style à « plain », dont l’aspect est similaire à la sortie non filtrée " |
| 1237 |
"de B<less>(1). Ces réglages peuvent être redéfinis dans I<~/.config/bat/" |
| 1238 |
"config> ou à l’aide des variables d’environnement I<BAT_STYLE> et " |
| 1239 |
"I<BAT_THEME>." |
| 1240 |
|
| 1241 |
#. type: Plain text |
| 1242 |
#: fedora-44 |
| 1243 |
#, no-wrap |
| 1244 |
msgid "" |
| 1245 |
"I<bat --list-languages>\n" |
| 1246 |
"I<batcat --list-languages>\n" |
| 1247 |
"I<pygmentize -L lexers>\n" |
| 1248 |
"I<source-highlight --lang-list>\n" |
| 1249 |
"I<code2color -h>\n" |
| 1250 |
"I<vimcolor -L (both for vimcolor and nvimpager)>\n" |
| 1251 |
msgstr "" |
| 1252 |
|
| 1253 |
#. type: Plain text |
| 1254 |
#: fedora-44 mageia-cauldron |
| 1255 |
msgid "" |
| 1256 |
"As soon as B<lesspipe.sh> calls a program to convert the input the ability " |
| 1257 |
"to watch growing files (using the F command within less) is lost. This is " |
| 1258 |
"usually wanted for log files like syslog. To temporarily disengage " |
| 1259 |
"B<lesspipe.sh> a colon as the last argument for B<less> needs to be added as " |
| 1260 |
"e.g in" |
| 1261 |
msgstr "" |
| 1262 |
"Dès que B<lesspipe.sh> fait appel à un programme pour convertir l’entrée, la " |
| 1263 |
"possibilité de visualiser la croissance des fichiers (en utilisant la " |
| 1264 |
"commande F pendant l’exécution de B<less>(1)) est perdue. Ce type de " |
| 1265 |
"visualisation est souvent souhaité pour les fichiers journaux comme " |
| 1266 |
"I<syslog>. Pour désactiver temporairement B<lesspipe.sh>, un deux-points (:) " |
| 1267 |
"doit être ajouté en tant que dernier argument de B<less>(1) comme dans " |
| 1268 |
"l’exemple suivant :" |
| 1269 |
|
| 1270 |
#. type: Plain text |
| 1271 |
#: fedora-44 mageia-cauldron |
| 1272 |
msgid "" |
| 1273 |
"or B<less> can be called with the +F argument, which is equivalent to F " |
| 1274 |
"within the pager:" |
| 1275 |
msgstr "" |
| 1276 |
"B<less>(1) peut aussi être invoqué avec l’argument +F, ce qui équivaut à " |
| 1277 |
"l’exécution de la commande F pendant l’exécution de B<less>(1) :" |
| 1278 |
|
| 1279 |
#. type: Plain text |
| 1280 |
#: fedora-44 |
| 1281 |
#, fuzzy |
| 1282 |
#| msgid "I<less +F /var/log/syslog>" |
| 1283 |
msgid "B<less>I< +F /var/log/syslog>" |
| 1284 |
msgstr "I<less +F /var/log/syslog>" |
| 1285 |
|
| 1286 |
#. type: Plain text |
| 1287 |
#: fedora-44 |
| 1288 |
msgid "" |
| 1289 |
"Appending a colon to the file name does not work, as then the filter has to " |
| 1290 |
"be engaged to at least remove that colon and use cat for the original file." |
| 1291 |
msgstr "" |
| 1292 |
|
| 1293 |
#. type: Plain text |
| 1294 |
#: fedora-44 |
| 1295 |
#, fuzzy |
| 1296 |
#| msgid "Copyright \\(co 2005-2024 Wolfgang Friebel" |
| 1297 |
msgid "Copyright \\(co 2005-2025 Wolfgang Friebel" |
| 1298 |
msgstr "Copyright \\(co 2005-2024 Wolfgang Friebel" |
| 1299 |
|
| 1300 |
#. type: TH |
| 1301 |
#: mageia-cauldron |
| 1302 |
#, no-wrap |
| 1303 |
msgid "August 2024" |
| 1304 |
msgstr "Août 2024" |
| 1305 |
|
| 1306 |
#. type: Plain text |
| 1307 |
#: mageia-cauldron |
| 1308 |
msgid "" |
| 1309 |
"With the help of that filter B<less> will display the uncompressed contents " |
| 1310 |
"of compressed (I<gzip, bzip2, compress, zstd, lz4, lzip, xz, lzma or " |
| 1311 |
"brotli>) files. For files containing archives and directories, a table of " |
| 1312 |
"contents will be displayed (I<tar, ar, zip, 7-zip, rar, jar, cpio, rpm, deb " |
| 1313 |
"ms-cabinet, iso, appimage and snap formats>). Many other files will be " |
| 1314 |
"reformatted for display. It includes I<pdf, dvi, markdown, Office (MS and " |
| 1315 |
"Openoffice)> suites formats, I<NetCDF, matlab, device tree blob, html, xml> " |
| 1316 |
"and I<media (image, audio and video)> formats. This does require helper " |
| 1317 |
"programs being installed." |
| 1318 |
msgstr "" |
| 1319 |
"Grâce à ce filtre, B<less>(1) va pouvoir afficher le contenu décompressé des " |
| 1320 |
"fichiers compressés par I<gzip, bzip2, compress, zstd, lz4, lzip, xz, lzma " |
| 1321 |
"ou brotli>. Pour les fichiers contenant des archives et des répertoires, une " |
| 1322 |
"table des matières sera affichée (formats I<tar, ar, zip, 7-zip, rar, jar, " |
| 1323 |
"cpio, rpm, deb ms-cabinet, iso, appimage et snap>). De nombreux autres types " |
| 1324 |
"de fichier seront reformatés avant affichage. Il s’agit des formats des " |
| 1325 |
"suites I<pdf, dvi, markdown, Office (MS et Openoffice)> et des formats " |
| 1326 |
"I<NetCDF, matlab, device tree blob, html, xml> et I<media (image, audio et " |
| 1327 |
"video)>. Pour que ce filtrage fonctionne, des programmes d’assistance " |
| 1328 |
"doivent être installés." |
| 1329 |
|
| 1330 |
#. type: Plain text |
| 1331 |
#: mageia-cauldron |
| 1332 |
msgid "I<eval `lesspipe.sh`> (bash) or" |
| 1333 |
msgstr "I<eval `lesspipe.sh`> (B<bash>(1)) ou" |
| 1334 |
|
| 1335 |
#. type: Plain text |
| 1336 |
#: mageia-cauldron |
| 1337 |
msgid "I<lesspipe.sh|source /dev/stdin> (zsh)" |
| 1338 |
msgstr "I<lesspipe.sh|source /dev/stdin> (B<zsh>(1))" |
| 1339 |
|
| 1340 |
# FIXME unexpected colon in "B<less> :will" |
| 1341 |
#. type: Plain text |
| 1342 |
#: mageia-cauldron |
| 1343 |
msgid "" |
| 1344 |
"Having set the environment variable as described above, B<less> :will then " |
| 1345 |
"display textual information for a wide range of file formats." |
| 1346 |
msgstr "" |
| 1347 |
"Une fois la variable d’environnement définie comme décrit ci-avant, " |
| 1348 |
"B<less>(1) affichera des informations au format texte pour une grande " |
| 1349 |
"variété de formats de fichier." |
| 1350 |
|
| 1351 |
#. type: Plain text |
| 1352 |
#: mageia-cauldron |
| 1353 |
msgid "" |
| 1354 |
"B<LESSOPEN> starting with the two characters I<||> to handle empty files and " |
| 1355 |
"command errors is implemented only partly, usually on failures of commands " |
| 1356 |
"within B<lesspipe.sh> the error messages get displayed." |
| 1357 |
msgstr "" |
| 1358 |
"Préfixer I<LESSOPEN> par les deux caractères « || » pour gérer les fichiers " |
| 1359 |
"vides et les erreurs de commande n’est que partiellement implémenté ; en " |
| 1360 |
"général, en cas d’échec d’une commande au sein de B<lesspipe.sh>, les " |
| 1361 |
"messages d’erreur sont affichés." |
| 1362 |
|
| 1363 |
#. type: Plain text |
| 1364 |
#: mageia-cauldron |
| 1365 |
msgid "Example: I<less index.html:html>" |
| 1366 |
msgstr "Exemple : I<less index.html:html>" |
| 1367 |
|
| 1368 |
#. type: Plain text |
| 1369 |
#: mageia-cauldron |
| 1370 |
msgid "I<LESSCOLORIZER='pygmentize -O style=foo' (-P allowed as well)>" |
| 1371 |
msgstr "" |
| 1372 |
"I<LESSCOLORIZER='pygmentize -O style=un_style' (-P est aussi autorisé)>" |
| 1373 |
|
| 1374 |
#. type: Plain text |
| 1375 |
#: mageia-cauldron |
| 1376 |
msgid "" |
| 1377 |
"I<LESSCOLORIZER='bat --style=foo --theme=bar' (default is theme ansi, style " |
| 1378 |
"plain)>" |
| 1379 |
msgstr "" |
| 1380 |
"I<LESSCOLORIZER='bat --style=foo --theme=un_thème' (par défaut, le thème est " |
| 1381 |
"« ansi » et le style « plain »)>" |
| 1382 |
|
| 1383 |
#. type: Plain text |
| 1384 |
#: mageia-cauldron |
| 1385 |
msgid "" |
| 1386 |
"Syntax highlighting can be switched off by appending a colon after the file " |
| 1387 |
"name, if the output was colorful. If the wrong language was chosen for " |
| 1388 |
"syntax highlighting, then another one can be forced by appending a colon and " |
| 1389 |
"a suffix to the file name." |
| 1390 |
msgstr "" |
| 1391 |
"Si la sortie est colorée, la mise en évidence de la syntaxe peut être " |
| 1392 |
"désactivée en ajoutant un deux-points (:) à la fin du nom de fichier. Si le " |
| 1393 |
"langage pris en compte pour la coloration syntaxique n’est pas le bon, il " |
| 1394 |
"est possible d’en forcer un autre en ajoutant un deux-points et un suffixe à " |
| 1395 |
"la fin du nom de fichier." |
| 1396 |
|
| 1397 |
#. type: Plain text |
| 1398 |
#: mageia-cauldron |
| 1399 |
msgid "" |
| 1400 |
"As B<less> is used as a default browser in other programs (e.g. I<man>, " |
| 1401 |
"I<git>, and I<perldoc>)) B<lesspipe.sh> may be engaged and alter the output " |
| 1402 |
"of those programs." |
| 1403 |
msgstr "" |
| 1404 |
"B<less>(1) étant utilisé comme navigateur par défaut par certains programmes " |
| 1405 |
"(comme B<man>(1), B<git>(1) et B<perldoc>(1)), il est possible que " |
| 1406 |
"B<lesspipe.sh> soit invoqué et altère la sortie de ces programmes." |
| 1407 |
|
| 1408 |
#. type: Plain text |
| 1409 |
#: mageia-cauldron |
| 1410 |
msgid "I<less /var/log/syslog :>" |
| 1411 |
msgstr "I<less /var/log/syslog :>" |
| 1412 |
|
| 1413 |
#. type: Plain text |
| 1414 |
#: mageia-cauldron |
| 1415 |
msgid "I<less +F /var/log/syslog>" |
| 1416 |
msgstr "I<less +F /var/log/syslog>" |
| 1417 |
|
| 1418 |
#. type: Plain text |
| 1419 |
#: mageia-cauldron |
| 1420 |
msgid "" |
| 1421 |
"Appending a colon to the file name does not work, as then the filter has to " |
| 1422 |
"be engaged to at least remove that colon and use cat for the original file. " |
| 1423 |
"On the other hand non growing log files can be colorized using B<ccze>. Its " |
| 1424 |
"recognition as a log file is difficult if not ending in I<.log> but can be " |
| 1425 |
"forced appending B<:.log> to the file name as e.g in" |
| 1426 |
msgstr "" |
| 1427 |
"Ajouter un deux-points au nom de fichier ne fonctionne pas, car le filtre " |
| 1428 |
"doit alors être invoqué pour au moins supprimer ce deux-points et utiliser " |
| 1429 |
"B<cat>(1) pour le fichier original. En outre, il est possible de colorer les " |
| 1430 |
"fichiers journaux non croissants en utilisant B<ccze>(1). La reconnaissance " |
| 1431 |
"d’un fichier en tant que journal est difficile si son nom ne se termine pas " |
| 1432 |
"par « .log », mais peut être forcée en ajoutant « :.log » à la fin du nom de " |
| 1433 |
"fichier comme dans l’exemple suivant :" |
| 1434 |
|
| 1435 |
#. type: Plain text |
| 1436 |
#: mageia-cauldron |
| 1437 |
msgid "I<less /var/log/syslog:.log>" |
| 1438 |
msgstr "I<less /var/log/syslog:.log>" |
| 1439 |
|
| 1440 |
#. type: Plain text |
| 1441 |
#: mageia-cauldron |
| 1442 |
msgid "" |
| 1443 |
"With the provided I<lesscomplete> (for B<zsh> and B<bash>), I<_less> (for " |
| 1444 |
"B<zsh>) and I<less_completion> (for B<bash>) files a tab completion for " |
| 1445 |
"files in archives can be accomplished. Entering a colon (:) or an equal " |
| 1446 |
"sign (=) after an archive file name and then pressing the tab key triggers " |
| 1447 |
"the completion mechanism. This also works in chained archives. The files " |
| 1448 |
"I<lesscomplete> and I<less_completion> have to be in one of the directories " |
| 1449 |
"listed in B<$PATH> and the function I<_less> for B<zsh> in a directory " |
| 1450 |
"listed by I<$fpath>. The less_completion script has to be sourced within a " |
| 1451 |
"bash initialization script, e.g. in I<~/.bashrc>. New directories such as " |
| 1452 |
"I<~/scripts> and I<~/.fpath> can be added using the commands" |
| 1453 |
msgstr "" |
| 1454 |
"Il est possible d’effectuer une complétion des noms de fichier par " |
| 1455 |
"tabulation au sein d’une archive en utilisant les fichiers I<lesscomplete> " |
| 1456 |
"(pour B<zsh>(1) et B<bash>(1)), I<_less> (pour B<zsh>(1)) et " |
| 1457 |
"I<less_completion> (pour B<bash>(1)). Taper un deux-points « : » ou un signe " |
| 1458 |
"égal « = » après un nom d’archive puis presser la touche tabulation " |
| 1459 |
"déclenche le mécanisme de complétion. Cette méthode fonctionne aussi pour " |
| 1460 |
"les archives chaînées. Les fichiers I<lesscomplete> et I<less_completion> " |
| 1461 |
"doivent se trouver dans un des répertoires listés dans I<$PATH> et la " |
| 1462 |
"fonction I<_less> pour B<zsh>(1) dans un répertoire listé dans I<$fpath>. Le " |
| 1463 |
"script B<less_completion> doit être invoqué depuis un script " |
| 1464 |
"d’initialisation de B<bash>(1), par exemple I<~/.bashrc>. De nouveaux " |
| 1465 |
"répertoires tels que I<~/scripts> et I<~/.fpath> peuvent être ajoutés à " |
| 1466 |
"l’aide des commandes" |
| 1467 |
|
| 1468 |
#. type: Plain text |
| 1469 |
#: mageia-cauldron |
| 1470 |
msgid "B<PATH>=I<~/scripts:$PATH> and B<fpath>=I<(~/.fpath $fpath)>" |
| 1471 |
msgstr "B<PATH>=I<~/scripts:$PATH> et B<fpath>=I<(~/.fpath $fpath)>" |
| 1472 |
|
| 1473 |
#. type: Plain text |
| 1474 |
#: mageia-cauldron |
| 1475 |
msgid "" |
| 1476 |
"This mechanism can be used to add filtering for new formats or e.g. inhibit " |
| 1477 |
"filtering for certain file types." |
| 1478 |
msgstr "" |
| 1479 |
"Ce mécanisme permet d’ajouter des filtres pour de nouveaux formats ou, par " |
| 1480 |
"exemple, de désactiver le filtrage pour certains types de fichier." |
| 1481 |
|
| 1482 |
#. type: Plain text |
| 1483 |
#: mageia-cauldron |
| 1484 |
msgid "Copyright \\(co 2005-2024 Wolfgang Friebel" |
| 1485 |
msgstr "Copyright \\(co 2005-2024 Wolfgang Friebel" |
| 1486 |
|
| 1487 |
#. type: Plain text |
| 1488 |
#: mageia-cauldron |
| 1489 |
msgid "" |
| 1490 |
"A description of B<lesspipe.sh> is also contained in the file README " |
| 1491 |
"contained in the source code package" |
| 1492 |
msgstr "" |
| 1493 |
"Une description de B<lesspipe.sh> se trouve aussi dans le fichier I<README> " |
| 1494 |
"contenu dans le paquet source." |