groff
[Top][All Lists]
Advanced

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

Re: [Groff] Even more mm bugs


From: ralph
Subject: Re: [Groff] Even more mm bugs
Date: Tue, 29 Jan 2002 08:46:48 +0000

Hi,

> You might use strace to check which files have been opened.  Under
> Linux, a proper call to strace is
> 
>   strace -ff -F -o groff -ww -e -mm math1.mm > math.ps

On the Linux system here that doesn't work;  -o requires the filename
to output to.

    % strace -ff -F -o groff -ww -e -mm math1.mm > math.ps
    strace: invalid option -- w
    usage: strace [-dffhiqrtttTvVxx] [-a column] [-e expr] ... [-o file]
                  [-p pid] ... [-s strsize] [-u username] [command [arg ...]]

Adding `g' to create g and g.`pid' works.  Plus, if you're only
interested in files that are being opened then -e can cut down the
`noise'.

    strace -ff -F -o g -e trace=chdir,open groff -ww -e -mm math1.mm >math.ps

Cheers,


Ralph.


reply via email to

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