Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1531 connectés 

  FORUM HardWare.fr
  Programmation
  C

  Afficher une page de man au bon format

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Afficher une page de man au bon format

n°1864374
kitty-hime
Posté le 21-03-2009 à 18:23:46  profilanswer
 

Bonjour a tous,
 
Je suis étudiante et dans le cadre d'un projet, je dois créer un shell.
Ceci est finit mais il me reste les pages de manuel.
 
Le professeur nous a demandé d'écrire pour chaque fonctionnalité (mkdir, rmdir link, ...) un manuel au format .t2t.
 
Il nous a donné un convertisseur qui permet donc de convertir nos fichier.t2t en page de man.
 
Mon problème est donc le suivant comment puis-je afficher mes pages de man dans le terminal au bon format??
 
exemple pour la fonctionnalité echo :
 
======================> echo.t2t <======================
 
ECHO
 
January 1, 2009
 
%!target: man
%!options(html): --mask-email
 
= NAME =
 
echo -- write arguments to the standard output
 
= SYNOPSIS =
 
**echo** //...//
 
= DESCRIPTION =
The **echo** utility writes any specified operands, separated by single blank
(` ') characters and followed by a newline (`\n') character, to the standard output.
 
= EXIT STATUS =
The **echo** utility always exists 0.

 
 
 
======================> Après conversion <======================

.TH "ECHO" 1 "January 1, 2009" ""
 
.SH NAME
.P
echo \-\- write arguments to the standard output
 
.SH SYNOPSIS
.P
\fBecho\fR [\fIstring\fR \fI...\fR ]
 
.SH DESCRIPTION
.P
The \fBecho\fR utility writes any specified operands, separated by single blank
(` ') characters and followed by a newline (`\en') character, to the standard output.
 
.SH EXIT STATUS
.P
The \fBecho\fR utility always exists 0.
 
 
.\" man code generated by txt2tags 2.4 (http://txt2tags.sf.net)
.\" cmdline: txt2tags -i echo.t2t -o man/man1/echo.1 -t man

 
 
J'attends vous réponses!! Et merci d'avance! :)
 
KITTY

mood
Publicité
Posté le 21-03-2009 à 18:23:46  profilanswer
 

n°1864377
Elmoricq
Modérateur
Posté le 21-03-2009 à 19:14:01  profilanswer
 

En utilisant man ?


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  C

  Afficher une page de man au bon format

 

Sujets relatifs
[resolu]comment revenir sur page de résultats?Barre de rechrche sur une page HTML
Afficher automatiquement un fichier ?faire une recherche de donnees et les afficher /access /vb6
[word] Compter les lignes d'une page, savoir si une image est présenteFenêtre qui s'ouvre sur la page d'acceuil
si >10 commentaires alors nouvelle page[RESOLU] Afficher le contenu d'un document
Recherche rapide sans rechargement de page avec mysqlImprimer une page HTML
Plus de sujets relatifs à : Afficher une page de man au bon format


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR