趣味Shell
来源:互联网 发布:dreamweaver做淘宝分类 编辑:程序博客网 时间:2024/04/30 02:24
Richard M. Stallman大神是谁就不用说了,一时来了兴趣,想看看Linux系统下有多少程序有这位大神参与编写的。
先把所有命令导出到文件中,遍历所有命令,用man手册查一下并过滤Stallman关键词。
以下是脚本
#!/bin/bashi=0;touch Stallmanls /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/games > commandfor line in `cat command`doman $line | grep Richard\ M.\ Stallmanif [ $? -eq 0 ]theni=`expr $i + 1`echo $i $line >> Stallmanman $line | grep Richard\ M.\ Stallman >> Stallmanfidonerm command
1 cat Written by Torbjorn Granlund and Richard M. Stallman.2 dir Written by Richard M. Stallman and David MacKenzie.3 ls Written by Richard M. Stallman and David MacKenzie.4 rm Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering.5 vdir Written by Richard M. Stallman and David MacKenzie.6 comm Written by Richard M. Stallman and David MacKenzie.7 gdb `gdb' entry in info; Using GDB: A Guide to the GNU Source-Level Debugger, Richard M. Stallman and Roland H.8 gdbtui `gdb' entry in info; Using GDB: A Guide to the GNU Source-Level Debugger, Richard M. Stallman and Roland H.9 split Written by Torbjorn Granlund and Richard M. Stallman.10 tee Written by Mike Parker, Richard M. Stallman, and David MacKenzie.11 uniq Written by Richard M. Stallman and David MacKenzie.
- 趣味Shell
- Bash - 趣味Shell
- shell趣味编程:求两数最大公因数
- shell趣味编程:case语句判断字符串内容
- 趣味网站、趣味应用
- 趣味智力题
- 趣味智力题
- 趣味智力题
- 趣味智力题
- 趣味智力题
- 趣味算法
- 趣味猜猜
- 趣味题
- 趣味小游戏
- 趣味智力题
- 趣味题
- 趣味_C#
- 趣味智力题
- 深入理解Linux之copy_process()
- JS 实现图片直接下载
- POJ 3664
- 【数据挖掘】文档分类之朴素贝叶斯算法
- Java 线程间的通信
- 趣味Shell
- HDU 2115
- 图像处理笔记(4)
- 实现抽象工厂
- C++中LIB和DLL的区别与使用
- python Scrapy 轻松定制网络爬虫
- 如何理解java中重写,重载与多态(整理)
- 做东西的困惑
- MFC控件(8):command button与syslink control