groff
[Top][All Lists]
Advanced

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

Re: [Groff] Several file arguments to groff


From: Werner LEMBERG
Subject: Re: [Groff] Several file arguments to groff
Date: Fri, 08 Nov 2002 15:16:03 +0100 (CET)

> The correct behavior to get control over the placement of arguments
> in groff is to add a leading '-' before the short option string in
> the getopt_long() call in <groff-src-top>/src/roff/groff/groff.cc
> and then add a `case 1:' in `switch(opt)'.  Replace
> 
>  while ((opt = getopt_long(argc, argv,
>                  "abcCd:eEf:F:gGhiI:lL:m:M:n:No:pP:r:RsStT:UvVw:W:XzZ",
>                  long_options, NULL))
>         != EOF) {
> 
> by 
> 
>  while ((opt = getopt_long(argc, argv,
>                  "-abcCd:eEf:F:gGhiI:lL:m:M:n:No:pP:r:RsStT:UvVw:W:XzZ",
>                  long_options, NULL))
>         != EOF) {

Thanks for the analysis, but the main question for me is still not
answered satisfyingly: Do we really need this?  My opinion is no,
given that a user can always insert a .mso request into the document.


    Werner

reply via email to

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