Imprimir pàgines man
Hola,
potser és molt obvi, però estic intentar imprimir una pàgina del man, o sigui
poder passar-la a ps o html i sempre em trobo amb un error. Em podeu donar un
cop de mà, si us plau.
Exemple:
palomo@lira:~$ man --help
usage: man [-c|-f|-k|-w|-tZT device] [-adlhu7V] [-Mpath] [-Ppager] [-Slist]
[-msystem] [-pstring] [-Llocale] [-eextension] [section] page ...
...
-H, --html use lynx or argument to display html output.
....
palomo@lira:~$ man -H ls > ls.html
Reformatting ls(1), please wait...
/usr/bin/groff: can't find `DESC' file
/usr/bin/groff:fatal error: invalid device `html'
man: command exited with status 768: /usr/bin/zsoelim /tmp/zmanawQAPb |
/usr/bin/groff -mandoc -Thtml > /tmp/hmanwxSmCe/ls.html
palomo@lira:~$
També si faig: man 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.
......
aleshores:
palomo@lira:~$ man -l -Tdvi /usr/share/man/man1/ls.1.gz > ./ls.dvi
/usr/bin/groff: can't find `DESC' file
/usr/bin/groff:fatal error: invalid device `dvi'
man: command exited with status 768: /usr/bin/zsoelim /tmp/zmant2qVCo |
/usr/bin/tbl | /usr/bin/groff -mandoc -Tdvi
Bé, que punyetes estic fent malament?
Gràcies per endavant.
Leo
Reply to: