bug-groff
[Top][All Lists]
Advanced

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

groff 1.19.1 bug report (nroff does not recognize -M)


From: Bruce Lilly
Subject: groff 1.19.1 bug report (nroff does not recognize -M)
Date: Sun, 10 Apr 2005 08:23:16 -0400
User-agent: KMail/1.8

                           Groff Bug Report

Please read the PROBLEMS file before sending in a bug report.

Please fill in all fields, even if you think they are not relevant.

Please delete the text in brackets before sending it in.

Please report separate bugs separately.

Send the completed form to address@hidden

GROFF VERSION:
GNU groff version 1.19.1
Copyright (C) 2004 Free Software Foundation, Inc.
GNU groff comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of groff and its subprograms
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

called subprograms:

GNU troff (groff) version 1.19.1
GNU grops (groff) version 1.19.1


MACHINE:
Hewlett-Packard ZE5385US

OS:
Linux version 2.6.8-24.14-default (address@hidden) (gcc version 3.3.4 (pre 
3.3.5 20040809)) #1 Tue Mar 29 09:27:43 UTC 2005

COMPILER:
g++ (GCC) 3.4.3
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


INPUT FILES:


COMMAND LINE:
nroff -M. -mtmac.rfc foo

DESCRIPTION OF INCORRECT BEHAVIOUR:
noff fails to recognize the -M option

/usr/bin/nroff: invalid option -M.

SUGGESTED FIX [optional]:
*** nroff.sh.orig       Sun Apr 10 07:40:47 2005
--- nroff.sh    Sun Apr 10 07:41:41 2005
***************
*** 47,56 ****
      -[eq] | -s*)
        # ignore these options
        ;;
!     -[dmrnoT])
        echo "$prog: option $1 requires an argument" >&2
        exit 1 ;;
!     -[iptSUC] | -[dmrno]*)
        opts="$opts $1" ;;
      -Tascii | -Tlatin1 | -Tutf8 | -Tcp1047)
        T=$1 ;;
--- 47,56 ----
      -[eq] | -s*)
        # ignore these options
        ;;
!     -[dMmrnoT])
        echo "$prog: option $1 requires an argument" >&2
        exit 1 ;;
!     -[iptSUC] | -[dMmrno]*)
        opts="$opts $1" ;;
      -Tascii | -Tlatin1 | -Tutf8 | -Tcp1047)
        T=$1 ;;
***************
*** 67,73 ****
        echo "GNU nroff (groff) version @VERSION@"
        exit 0 ;;
      --help)
!       echo "usage: nroff [-CchipStUv] [-dCS] [-mNAME] [-nNUM] [-oLIST] [-rCN]"
        echo "       [-Tname] [FILE...]"
        exit 0 ;;
      --)
--- 67,73 ----
        echo "GNU nroff (groff) version @VERSION@"
        exit 0 ;;
      --help)
!       echo "usage: nroff [-CchipStUv] [-dCS] [-MDIR] [-mNAME] [-nNUM] 
[-oLIST] [-rCN]"
        echo "       [-Tname] [FILE...]"
        exit 0 ;;
      --)




reply via email to

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