The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
Sponsored Content
Full Discussion:
What about,....
Top Forums
UNIX for Dummies Questions & Answers
What about,....
Post 1769 by mib on Thursday 29th of March 2001 10:47:00 AM
03-29-2001
mib
Registered User
what about writing a script in perl.
usage: scriptname month year
#!/usr/bin/perl
%Month=("Jan" => 1, "January" => 1, "Feb" => 2, "March" => 3); #and so on..
system("cal $Month{$ARGV[0]} $ARGV[1]");
[Edited by mib on 03-29-2001 at 02:18 PM]
mib
View Public Profile for mib
Find all posts by mib
Member Badges and Information Modal
×