On Monday 02 February 2004 18:42, lito lampitoc wrote:
> is there any bash built-in function or linux command to output a logical
> value if it's end of the month. Which means, it should return the value
> true or false.

For what purpose? If you're doing this for scheduling, you should take a 
look at cron (8). If you're doing this for a script, there's no single 
function, but you can easily hack up your own. That will involve using 
date (1), cut (1), and some clever conditionals. :)

-- 
Paolo Vanni M. Ve�egas
Ateneo Cervini-Eliazo Networks (ACENT)
III BSCS, Ateneo de Manila University
http://acp.ateneo.edu/~paolo/index.php

On-line, adj.: The idea that a human being should always be accessible to a 
computer.

--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to