bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problems in lastcomm.1, ptx.1


From: esr
Subject: problems in lastcomm.1, ptx.1
Date: Mon, 1 Jan 2007 19:06:02 -0500

This is automatically generated email about problems in a man page for which
you appear to be responsible.  If you are not the right person or list, tell
me and I will attempt to correct my database.

See http://catb.org/~esr/doclifter/problems.html for details on how and
why these patches were generated.  Feel free to email me with any questions.
Note: These patches do not change the mod date of any manual page.  You
may wish to do that by hand.

Problems with lastcomm.1:

1. Use local definitions of .EX/.EE or .DS/.DE to avoid low-level troff
requests in the page body.  There are plans to add these to groff man;
in the interim, this patch adds a compatible definition to your page.

--- lastcomm.1-orig     2007-01-01 18:28:12.000000000 -0500
+++ lastcomm.1  2007-01-01 18:28:23.000000000 -0500
@@ -1,4 +1,18 @@
 .TH LASTCOMM 1 "1995 October 31"
+.de EX
+.nf
+.ft CW
+..
+.de EE
+.ft R
+.fi
+..
+.de DS
+.nf
+..
+.de DE
+.fi
+..
 .SH NAME
 lastcomm \-  print out information about previously executed commands.
 .SH SYNOPSIS
@@ -73,9 +87,9 @@
 only records containing those items will be displayed.  For 
 example, to find out which users used command `a.out' 
 and which users were logged into `tty0', type:
-.ce
+.EX
 lastcomm a.out tty0
-.ce 0
+.EE
 .LP
 This will print any entry for which `a.out' or `tty0' 
 matches in any of the record's fields (command, name, or terminal).  If 
@@ -84,13 +98,14 @@
 all of the executions of command 
 .IR a.out " by user " root " on terminal " tty0, 
 type:
-.ce 
+.EX 
 lastcomm \-\-strict-match a.out root tty0
-.ce 0
+.EE
 .LP
 The order of the arguments is not important.
 .LP
 For each entry the following information is printed:
+.DS
    + command name of the process
    + flags, as recorded by the system accounting routines:
         S -- command executed by super-user
@@ -100,6 +115,7 @@
         X -- command was terminated with the signal SIGTERM
    + the name of the user who ran the process
    + time the process exited
+.DE
 .SH OPTIONS
 \. .PD 0
 .TP
-----------------------------
Problems with ptx.1:

1. Parenthesized comments in command synopsis.  This is impossible
to translate to DocBook.

--- ptx.1       2003-02-16 16:40:22.000000000 -0500
+++ ptx.1       2003-02-16 16:40:53.000000000 -0500
@@ -4,7 +4,7 @@
 ptx \- produce a permuted index of file contents
 .SH SYNOPSIS
 .B ptx
-[\fIOPTION\fR]... [\fIINPUT\fR]...   \fI(without -G)\fR
+[\fIOPTION\fR]... [\fIINPUT\fR]...
 .br
 .B ptx
 \fI-G \fR[\fIOPTION\fR]... [\fIINPUT \fR[\fIOUTPUT\fR]]
-----------------------------

--
                             Eric S. Raymond




reply via email to

[Prev in Thread] Current Thread [Next in Thread]