tech-userlevel archive

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

Re: Proposal: Add option to add dates to write(1)



On Thu, 17 May 2012 15:11:56 +0200
Julian Fagir <gnrp%komkon2.de@localhost> wrote:

>  (i.e., you and your communication partner have to agree on using
> that flag to have it useful to yourself)

In principle, the sender shouldn't need to agree to anything.  If the
receiver wants all messages to be decorated with "Whoa! Message from
Bob stardate 1997.2", why should the writer care?  

One way to go about it would be to have write(1) use a variable in
the receiver's environment, say "WRITE1FMT", as the first argument to 
strftime(3) to format the string before sending.  

--jkl


Home | Main Index | Thread Index | Old Index