当前时区 GMT+8, 现在时间是 2008-10-8 04:00 游客: 注册 登录 仅登录论坛 | 搜索 帮助


标题: 跪求哪位大哥帮我解决这几道脚本题,我觉得挺难的!
zhangzimu88
新手上路
Rank: 1



UID 235280
精华 0
积分 19
帖子 5
阅读权限 10
注册 2007-1-9
来自 中国
状态 离线
发表于 2007-1-10 02:41  资料  短消息  加为好友 
跪求哪位大哥帮我解决这几道脚本题,我觉得挺难的!

跪求哪位大哥帮我解决这几道脚本题,我觉得挺难的!   

--------------------------------------------------------------------------------

1. Write a shell script to check the items of a designated directory which must be input from your terminal: if the item is a directory, delete it; else print the name of this item.
2. Write a shell script to display the odd lines of a given file.
3. Write a shell script using a directory as input, if the input is null, use current directory as input. The routine is used to find all files with suffix ".c" and ".cpp", and then compare each other to check out whether there exist two files having the same contents: if exist, print out the corresponding names of these files.
4. Write an ANSI C code. Use a Makefile to build it (including compile and link) into binary file.
The function of this binary file should be:
Read a serial of numbers from a given file, and then find the Top 5 maximum numbers.
You should give:
1. Makefile ( hint : one main file and one sub-routine file )
2. all C source code
3. the whole procedure of how you compile and link

顶部
superman
中级会员
Rank: 3Rank: 3


UID 15192
精华 0
积分 908
帖子 411
阅读权限 30
注册 2003-2-2
来自 China
状态 离线
发表于 2007-1-10 12:02  资料  短消息  加为好友 
鄙视跪求的

顶部
BOoRFGOnZ
公社版主




UID 79089
精华 11
积分 14782
帖子 7834
阅读权限 225
注册 2003-11-30
来自 Linux World
状态 离线
发表于 2007-1-10 13:37  资料  短消息  加为好友 
自己不作 怎能提高





Weiwei加油   我要追三顺!
顶部
druggo
高级会员
Rank: 4


UID 195260
精华 0
积分 1253
帖子 510
阅读权限 50
注册 2005-7-13
状态 离线
发表于 2007-1-15 02:44  资料  短消息  加为好友  ICQ 状态 Yahoo!
你需要冰天雪地,空中转体,等等等等……





顶部
 


Powered by Discuz! 5.5.0  © 2001-2007 Comsenz Inc.
清除 Cookies - 联系我们 - 中国Linux公社 - WAP