Get Your FREE Accelerating Development
with Virtualization White Paper

WPW IT Dicsussion Posts

Email Spammer Is Sending Me Mail Under My Own Name
For about 2 weeks now I get 3 or 4 spam emails a day from this person (machine) or whatever. I can't mark them as spam because they are somehow sending...

Installation Monitor
Does anyone know of any software that can tell you what files have been changed/added or registry keys changed/added when you install a new program?

Free Sun Ultra 20?
Am I reading this wrong? I can get a Sun Ultra 20 workstation for free if I pay $1078 for the 3 years of support? My question - anyone know much...



03.22.06


Tomorrows's Date

By A.P. Lawrence

At How can I find tomorrow's or yesterday's date in a script?, some anonymous person left what I consider to be a stupid comment.

Now before anyone gets their politically correct hackles all aroused, I am not implying that the person who left the comment is bereft of intelligence, is incapable of intelligent comments, is unworthy of human association and so on.

We all say stupid things now and then: we are momentarily distracted and unthinking, we're in a hurry, whatever. If there exists a person who has never once said or done something stupid, I don't want to know them: I wouldn't like them at all.

In this case, the answer (one answer) was right on on the page itself: for a SCO system lacking GNU date, he could download the "datemath" package and simply do "datecalc +1". If he were running Linux, "date --date=tomorrow" is a simple way to do it. On Mac OS X, you could do:

x=`date +%s`
date -r `expr $x + 86400`

Or, as the original page suggested, you could use Perl. You could find all that and more scattered across this site in various places if you bothered to look.

Get Your FREE Accelerating Development
with Virtualization White Paper

With a very little effort, almost anyone should be able to figure that out themselves: "man date" is a good start. It might take a little more effort to get to the "date +%s" solution": you might need "man strftime" also. But it is all there.

Ahh, but why isn't it all just in one place? Some folks are in a hurry, as we noted, and don't have time to research and think: they just want the magic incantation. that will solve their problem. We can do that, but it costs money. Otherwise, you have to turn the brain on for a few minutes and pay attention.

*Originally published at APLawrence.com

About the Author:
A.P. Lawrence provides SCO Unix and Linux consulting services.


About LinuxDeveloperNews
Get the lastest information on current changes in the Linux Development World.

LinuxDeveloperNews is brought to you by:

SecurityConfig.com NetworkingFiles.com
NetworkNewz.com WebProASP.com
DatabaseProNews.com SQLProNews.com
ITcertificationNews.com SysAdminNews.com
LinuxDeveloperNews.com WirelessProNews.com
CProgrammingTrends.com DevWebPro.com


-- LinuxDeveloperNews is an iEntry, Inc. publication --
iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509
© 2006 iEntry, Inc.  All Rights Reserved  Privacy Policy  Legal

archives | advertising info | news headlines | free newsletters | comments/feedback | submit article


LinuxDeveloperNews News Archives About Us Feedback LinuxDeveloperNews Home Page About Article Archive News Downloads WebProWorld Forums Jayde iEntry Advertise Contact