Mailinglist Archive: opensuse-es (1343 mails)
| < Previous | Next > |
Obtener páginas man en texto plano
- From: Aquiles <aquiles4@xxxxxxxxxxxx>
- Date: Sat, 15 Jan 2005 18:45:10 +0100
- Message-id: <200501151845.14958.aquiles4@xxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hola a todos,
* Estoy interesado en la obtención en formato txt de algunas páginas man, pero me encuentro que al hacer (por ejemplo), esto:
man scsiinfo -Tascii > scsi_info.txt
el resultado es el siguiente:
scsiinfo(8) Scsiinfo User's Guide scsiinfo(8)
N#NA#AM#ME#E
scsiinfo - query information from a scsi device
S#SY#YN#NO#OP#PS#SI#IS#S
s#sc#cs#si#ii#in#nf#fo#o [#[-#-_#o_#p_#t_#i_#o_#n_#s_#._#._#.]#] [#[_#d_#e_#v_#i_#c_#e]#]
D#DE#ES#SC#CR#RI#IP#PT#TI#IO#ON#N
s#sc#cs#si#ii#in#nf#fo#o queries information from an scsi target. This
means generally using the I#IN#NQ#QU#UI#IR#RY#Y scsi command or reading
out SCSI-II mode pages (the number of the mode pages and
corresponding sections of the SCSI-II sections is given
below). It allows also to modify some of these settings on
the scsi device (if it supports it).
Except for the -#-v#v and -#-l#l options you must specify exactly
one scsi device to work on. You may specify any linux scsi
device disk, tape, cdrom, generic scsi.
Some scsi devices (typically non removable disks) will
allow to store your modifications in some non volatile
memory. Some of these settings (for example those dealing
with the layout of logical blocks and sectors set aside as
replacements for erroneous blocks) might render the disk
unusable until a low level format.
O#OP#PT#TI#IO#ON#NS#S
I#In#nf#fo#or#rm#ma#at#ti#io#on#n a#av#va#ai#il#la#ab#bl#le#e f#fr#ro#om#m m#mo#os#st#t S#SC#CS#SI#I d#de#ev#vi#ic#ce#es#s (#(i#in#nc#cl#lu#ud#de#es#s S#SC#CS#SI#I-#-I#I)#)
-#-i#i display all information from the I#IN#NQ#QU#UI#IR#RY#Y scsi com-
mand.
-#-s#s displays the unit serial number using the I#IN#NQ#QU#UI#IR#RY#Y
scsi command.
-#-d#d display factory and grown defect lists (typically
for disks only).
It is currently only possible to return defect
information up to 4096 bytes. Longer defect lists
are truncated. See the B#BU#UG#GS#S section.
-#-f#f _#a_#r_#g specify the format in which to return the defect
information. The target may decide to fail report-
ing defect information in unsupported formats or
decide to return data in a different format. s#sc#cs#si#i-#-
i#in#nf#fo#o supports all SCSI-II specified defect formats:
... (el resto igual)
¿porqué estos carácteres?
Es curioso, porqué si le doy otra salida de formato tipo
man lo_que_sea -Tps > lo_que_sea.ps
el archivo PostScript resultante si que se ve a las mil maravillas.
Gracias por adelantado.
- --
¡Share your knowledge!
Linux user id 332494 # http://counter.li.org/
PGP id 0xC5ABA76A # http://pgp.mit.edu/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFB6VaqVW601sWrp2oRAm/IAJ954Jr3NO1v53L9RHGkjZo11KseQwCfd8+S
sg7PPOU9GYTGEwbCWFqqPbg=
=taW3
-----END PGP SIGNATURE-----
Hash: SHA1
Hola a todos,
* Estoy interesado en la obtención en formato txt de algunas páginas man, pero me encuentro que al hacer (por ejemplo), esto:
man scsiinfo -Tascii > scsi_info.txt
el resultado es el siguiente:
scsiinfo(8) Scsiinfo User's Guide scsiinfo(8)
N#NA#AM#ME#E
scsiinfo - query information from a scsi device
S#SY#YN#NO#OP#PS#SI#IS#S
s#sc#cs#si#ii#in#nf#fo#o [#[-#-_#o_#p_#t_#i_#o_#n_#s_#._#._#.]#] [#[_#d_#e_#v_#i_#c_#e]#]
D#DE#ES#SC#CR#RI#IP#PT#TI#IO#ON#N
s#sc#cs#si#ii#in#nf#fo#o queries information from an scsi target. This
means generally using the I#IN#NQ#QU#UI#IR#RY#Y scsi command or reading
out SCSI-II mode pages (the number of the mode pages and
corresponding sections of the SCSI-II sections is given
below). It allows also to modify some of these settings on
the scsi device (if it supports it).
Except for the -#-v#v and -#-l#l options you must specify exactly
one scsi device to work on. You may specify any linux scsi
device disk, tape, cdrom, generic scsi.
Some scsi devices (typically non removable disks) will
allow to store your modifications in some non volatile
memory. Some of these settings (for example those dealing
with the layout of logical blocks and sectors set aside as
replacements for erroneous blocks) might render the disk
unusable until a low level format.
O#OP#PT#TI#IO#ON#NS#S
I#In#nf#fo#or#rm#ma#at#ti#io#on#n a#av#va#ai#il#la#ab#bl#le#e f#fr#ro#om#m m#mo#os#st#t S#SC#CS#SI#I d#de#ev#vi#ic#ce#es#s (#(i#in#nc#cl#lu#ud#de#es#s S#SC#CS#SI#I-#-I#I)#)
-#-i#i display all information from the I#IN#NQ#QU#UI#IR#RY#Y scsi com-
mand.
-#-s#s displays the unit serial number using the I#IN#NQ#QU#UI#IR#RY#Y
scsi command.
-#-d#d display factory and grown defect lists (typically
for disks only).
It is currently only possible to return defect
information up to 4096 bytes. Longer defect lists
are truncated. See the B#BU#UG#GS#S section.
-#-f#f _#a_#r_#g specify the format in which to return the defect
information. The target may decide to fail report-
ing defect information in unsupported formats or
decide to return data in a different format. s#sc#cs#si#i-#-
i#in#nf#fo#o supports all SCSI-II specified defect formats:
... (el resto igual)
¿porqué estos carácteres?
Es curioso, porqué si le doy otra salida de formato tipo
man lo_que_sea -Tps > lo_que_sea.ps
el archivo PostScript resultante si que se ve a las mil maravillas.
Gracias por adelantado.
- --
¡Share your knowledge!
Linux user id 332494 # http://counter.li.org/
PGP id 0xC5ABA76A # http://pgp.mit.edu/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFB6VaqVW601sWrp2oRAm/IAJ954Jr3NO1v53L9RHGkjZo11KseQwCfd8+S
sg7PPOU9GYTGEwbCWFqqPbg=
=taW3
-----END PGP SIGNATURE-----
| < Previous | Next > |