comment peut-on rediriger la sortie d'un man, dans un fichier ps?
Merci
A+
Publicité
Posté le 28-07-2005 à 13:07:38
0liv
Posté le 28-07-2005 à 15:53:22
issu du man de man
man -l -Tdvi ./foo.1x.gz > ./foo.1x.dvi
This command will decompress and format the nroff source manual page ./foo.1x.gz into a device independent
(dvi) file. The redirection is necessary as the -T flag causes output to be directed to stdout with no pager.
The output could be viewed with a program such as xdvi or further processed into PostScript using a program
such as dvips.
geraldkembellec
Posté le 28-07-2005 à 17:11:32
au cas ou tu prefererai du ps au dvi(latex)
man ma_commande | a2ps --columns=1 -o /tmp/man_ma_commande.ps
man -l -Tdvi ./foo.1x.gz > ./foo.1x.dvi
This command will decompress and format the nroff source manual page ./foo.1x.gz into a device independent
(dvi) file. The redirection is necessary as the -T flag causes output to be directed to stdout with no pager.
The output could be viewed with a program such as xdvi or further processed into PostScript using a program
such as dvips.