JBTALKS.CC

标题: 各位高手帮帮忙~ [打印本页]

作者: 现代掌门人    时间: 2010-11-7 10:58 PM
标题: 各位高手帮帮忙~
这是我老师给的功课~请问有哪位高手能帮帮忙??我老师用fedora13~谢谢各位
Write a shell script (bash) called birthday. It will accept a date in the format of 'mm/dd/yyyy'; however, this input format should not require any validation. Nevertheless, you are required to check whether the first parameter is provided; if not, display the usage of birthday script. Your script must be able to do the following:

   1. If it is a leap year display "YYYY is a leap year", else display "YYYY is not a leap year" where YYYY is the input year.
   2. Display the day of week (Monday, Tuesday,..,Sunday).
   3. Display the number of days before or after your birthday this year.
   4. Display your age.
   5. Display a calendar on input date.
作者: a13x    时间: 2012-3-26 04:38 AM
现在的学生, 我真的无语。
作者: chancyde    时间: 2012-3-31 06:00 PM
这是我老师给的功课~请问有哪位高手能帮帮忙??我老师用fedora13~谢谢各位
Write a shell script (bash)  ...
现代掌门人 发表于 2010-11-7 10:58 PM


上網 google 抄吧......你太懶惰...




欢迎光临 JBTALKS.CC (https://jbtalks.my/) Powered by Discuz! X2.5