[Top][All Lists]

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

Re: [Groff] [PATCH] Use bash for several contrib scripts

From: Doug McIlroy
Subject: Re: [Groff] [PATCH] Use bash for several contrib scripts
Date: Fri, 03 Jan 2014 10:45:25 -0500
User-agent: Heirloom mailx 12.5 7/5/10

I must be missing something in the discussion about random
numbers. Why does groff need them? In the offered example
the "random number" serves only to make a (supposedly) unique
name. But of course, if the number is truly random, it is not
guaranteed to be unique. Why does groff not use the time-honored
$$ to serve the purpose?  The only requirement for an absolute
guarantee of uniqueness is that the shell script whose pid $$
represents lives as long as the temporary file.

Doug McIlroy

reply via email to

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