Facebook Sharer
选择您要替换的背景颜色:
【农历新年】背景图片:
个性化设定
 注册  找回密码
查看: 1958|回复: 2
打印 上一主题 下一主题

各位高手帮帮忙~

[复制链接]

51

主题

2

好友

354

积分

超级会员

Rank: 5Rank: 5Rank: 5Rank: 5Rank: 5

跳转到指定楼层
1#
发表于 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.




收藏收藏0

0

主题

0

好友

10

积分

初级会员

Rank: 1

2#
发表于 2012-3-26 04:38 AM |只看该作者
现在的学生, 我真的无语。


回复

使用道具 举报

4

主题

0

好友

51

积分

中级会员

Rank: 2Rank: 2

3#
发表于 2012-3-31 06:00 PM |只看该作者
这是我老师给的功课~请问有哪位高手能帮帮忙??我老师用fedora13~谢谢各位
Write a shell script (bash)  ...
现代掌门人 发表于 2010-11-7 10:58 PM


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


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

JBTALKS.CC |联系我们 |隐私政策 |Share

GMT+8, 2024-11-19 02:26 PM , Processed in 0.107002 second(s), 26 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

Ultra High-performance Dedicated Server powered by iCore Technology Sdn. Bhd.
Domain Registration | Web Hosting | Email Hosting | Forum Hosting | ECShop Hosting | Dedicated Server | Colocation Services
本论坛言论纯属发表者个人意见,与本论坛立场无关
Copyright © 2003-2012 JBTALKS.CC All Rights Reserved
合作联盟网站:
JBTALKS 马来西亚中文论坛 | JBTALKS我的空间 | ICORE TECHNOLOGY SDN. BHD.
回顶部