# RootPrompt.org   Nothing but Unix.[Home] [Features] [Programming] [Mac OS X] [Search]

 Using dates in shell scripts

Michael Wang and Julie Wang walk us through scripting dates.

"In this article, we introduced five functions: pn_month, end_month, pn_day, cur_weekday, and pn_weekday. pn_month, end_month, and cur_weekday are independent of the rest of the functions. pn_day is built on top of pn_month, and end_month, and pn_weekday is built on top of pn_day and cur_weekday."
Shell Corner: Date-Related Shell Functions

 (Submitted by Noel Thu Sep 8, 2005 )


Our content can be syndicated: Main page Mac Page

Copyright 1999-2005 Noel Davis. Noel also runs web sites about sailing and kayaking.
All trademarks are the property of their owners.
All articles are owned by their author