m4-discuss
[Top][All Lists]
Advanced

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

Re: How to automatically replace date string with m4?


From: Jack J. Woehr
Subject: Re: How to automatically replace date string with m4?
Date: Sun, 17 Jan 2016 18:28:08 -0700
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39

Peng Yu wrote:
I can use coreutils' date to generate a date with a date string as follows.
date -d yesterday
date -d tomorrow

Well, you can start with:
esyscmd(date)
Sun, Jan 17, 2016  6:24:03 PM
... and proceed from there
-- 
Jack J. Woehr     # Science is more than a body of knowledge. It's a way of
www.well.com/~jax # thinking, a way of skeptically interrogating the universe
www.softwoehr.com # with a fine understanding of human fallibility. - Carl Sagan

reply via email to

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