Add wdoc2txt (in /rc/bin/) to doc2txt(1). Minor cleanups: Fix missing commas in NAME list, alphabetize SOURCE listing. Reference: /n/sources/patch/applied/doc-man-1-doc2txt-wdoc2txt Date: Sat Dec 1 12:49:50 CET 2007 Signed-off-by: josh@utopian.net --- /sys/man/1/doc2txt Sat Dec 1 12:49:38 2007 +++ /sys/man/1/doc2txt Sat Dec 1 12:49:36 2007 @@ -1,12 +1,17 @@ .TH DOC2TXT 1 .SH NAME -doc2txt, xls2txt olefs, mswordstrings msexceltable \- extract printable strings from Microsoft Office documents +doc2txt, wdoc2txt, xls2txt, olefs, mswordstrings, msexceltable \- extract printable strings from Microsoft Office documents .SH SYNOPSIS .B doc2txt [ .I file.doc ] .br +.B wdoc2txt +[ +.I file.doc +] +.br .B xls2txt [ .I file.xls @@ -35,11 +40,19 @@ .I /mnt/doc/Workbook .SH DESCRIPTION .I Doc2txt -is a shell script that uses +is an +.IR rc (1) +script that uses .I olefs and .I mswordstrings -to extract the printable text from the body of a Microsoft Word document. +to extract the printable text from the body of a Microsoft Word document and write it on the standard output. +.I Wdoc2txt +is similar, but uses +.IR plumb (1) +to send the output to a new +.IR acme (1) +window instead. .I Xls2txt performs a similar function for Microsoft Excel documents. .PP @@ -88,15 +101,17 @@ unmount /mnt/doc .EE .SH SOURCE -.B /sys/src/cmd/aux/mswordstrings.c +.B /rc/bin/doc2txt .br -.B /sys/src/cmd/aux/msexceltables.c -.br -.B /sys/src/cmd/aux/olefs.c +.B /rc/bin/wdoc2txt .br .B /rc/bin/xls2txt .br -.B /rc/bin/doc2txt +.B /sys/src/cmd/aux/msexceltables.c +.br +.B /sys/src/cmd/aux/mswordstrings.c +.br +.B /sys/src/cmd/aux/olefs.c .SH SEE ALSO .IR strings (1) .br