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
Old 03-29-2001
what about writing a script in perl. Smilie
usage: scriptname month year

#!/usr/bin/perl

%Month=("Jan" => 1, "January" => 1, "Feb" => 2, "March" => 3); #and so on.. Smilie
system("cal $Month{$ARGV[0]} $ARGV[1]");





[Edited by mib on 03-29-2001 at 02:18 PM]
 
All times are GMT -4. The time now is 06:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy