QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1892|回复: 3

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

[复制链接]
发表于 2007-1-10 02:41:16 | 显示全部楼层 |阅读模式
跪求哪位大哥帮我解决这几道脚本题,我觉得挺难的!   

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

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
发表于 2007-1-10 12:02:06 | 显示全部楼层
鄙视跪求的
回复

使用道具 举报

发表于 2007-1-10 13:37:52 | 显示全部楼层
自己不作 怎能提高
回复

使用道具 举报

发表于 2007-1-15 02:44:22 | 显示全部楼层
你需要冰天雪地,空中转体,等等等等……
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-4-19 13:29 , Processed in 0.101636 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表