On 5/31/2005 at 8:22 AM Timothy A. Napthali wrote:

|Sorry for previous version of this post. I sent it accidentally before I
|was finished.
| 
|In Linux I was able to do this:
| 
|date +%Y%m%d -d "-1 day
|
|Which would give yesterdays date as 20050530
|
|How can I do this in OpenBSD? I've mucked about with date -r $(expr
|$(date +%d) - 86400) but I can't get it to work properly.
 =============

This may help

http://www.unixreview.com/documents/s=9020/ur0401d/ur0401d_script.htm

Reply via email to