Re: [Groff] troff command line args converted to lower case

2013-01-17 Thread Werner LEMBERG
> Can I suggest a change to papersize.tmac to leave \*[paper] as the > user defined it? Easily achieved: remove .ds paper \*[lowercase], > replace subsequent uses of \*[paper] by \*[lowercase], and move .rm > lowercase to the end. Sounds sensible. Patch, please. Werner

Re: [Groff] troff command line args converted to lower case

2013-01-17 Thread Denis M. Wilson
Hello Ted, groff 1.18.1 is rather old is it not... But it does show that the change to lower came in groff 1.19, the first appearance of papersize.tmac. Werner kindly pointed me in that direction. The change broke some of my scripts. If anyone makes use of the string variable 'paper' from pape

Re: [Groff] troff command line args converted to lower case

2013-01-16 Thread Werner LEMBERG
> troff -ww -dpaper=A4 -dcA5 <<'END' > .tm PAPER = \*[paper] c = \*[c] > .ex > END > > The output is > > PAPER = a4 c = A5 > > What is going on? `papersize.tmac' converts uppercase to lowercase while assigning the \*[paper] string. In other words, it doesn't matter whether you say `-dpaper=a4l

Re: [Groff] troff command line args converted to lower case

2013-01-16 Thread Ted Harding
On 16-Jan-2013 14:49:04 Denis M. Wilson wrote: > If I run the following shell script > > troff -ww -dpaper=A4 -dcA5 <<'END' > .tm PAPER = \*[paper] c = \*[c] > .ex > END > > The output is > > PAPER = a4 c = A5 > > What is going on? > (groff v1.22.1) > Denis Hmmm ... I get: troff -ww -dpaper=A

[Groff] troff command line args converted to lower case

2013-01-16 Thread Denis M. Wilson
If I run the following shell script troff -ww -dpaper=A4 -dcA5 <<'END' .tm PAPER = \*[paper] c = \*[c] .ex END The output is PAPER = a4 c = A5 What is going on? (groff v1.22.1) Denis -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachme