这个代码是为了抽取一堆source code中的CONFIG_词
肯定还有很多情况不能很好处理
#!/bin/sh
grep "CONFIG_" $PATHOFPATCH/$PATCH | sed 's/[+#|\|\|\&|(|)|\$|=|:|\"|;]//g'| sed 's/,0//g' | sed 's/\/\*.*//g' | sed 's/[abcdefghijklmnopqrstuvwxyz-]//g'|sed 's/_\.//g' | sed 's/\.//g'|awk '{print $1"\n"$2"\n"$3"\n"$4"\n"}' | grep "CONFIG_"
35F2的perl版
#!/usr/bin/perl -w
while () {
while (m/(CONFIG_[A-Z|_|0-9]*)[\s|\)]/g) {
print "$1\n";
}
}
疑问:为什么sed删除所有小写字母不能用sed ’s/[a-z]//g’ ?
而必须用 sed ’s/[abcdefghijklmnopqrstuvwxyz]//g’ 这么难看的写法?

Mario Guerrieri, eight-year-old Java enthusiast, and his dad came to meet James Gosling.
关于版本的解释:
J2SE Naming and Versioning
Print-friendly VersionPrint-friendly Version
Java technology was introduced 9 years ago and it’s been over 5 years since the introduction of J2SE, the 2nd generation Java platform.
Given its rich history, changing the version of the next release from 1.5 to 5.0 better reflects the level of maturity, stability, scalability and security built into J2SE. Here are the official naming and versioning conventions for the upcoming release (also known as “Tiger”):
Platform name:
Java(TM) 2 Platform Standard Edition 5.0 or J2SE(TM) 5.0
Products delivered under the platform*:
JDK(TM) 5.0
JRE 5.0
Due to significant popularity within the Java developer community, the development kit has reverted back to the naming convention “JDK” from “SDK.”
*Note: Full names for JDK(TM) and the JRE:
J2SE Development Kit 5.0
J2SE Runtime Environment 5.0
features
* Content-based comment/trackback spam blocking.
* Search & De-spam mode provides one-step de-spamming of all of your blogs.
* Extremely easy installation and upgrades. Works right out of the “box” with No modifications to your templates or the MT source code.
* Requires Movable Type 2.6 or better
* Web interface for all plugin administration functions
* Protection is configurable on a weblog-by-weblog basis
* Default blacklist contains over 1000 known spam strings for immediate protection on install.
* Uses MT’s native user permission model for administrative functions
* MT Activity log record of configuration and blacklist changes as well as optional logging of denied comments/trackbacks
* Optional automatic web publishing of blacklist
* Blacklist importing supported
* Seamless support for Perl regular expressions in blacklist
* Individual annotations supported for each blacklist entry
总结过去
算算从报名开始是2003年12月28日,到现在都8个月了。
从开始学一直就是赶在教学计划的前面
交规成绩并不算好,才得了95分,满分的人比比皆是。
第2个小时开始走车,大部分人是第一个4小时快结束了才开始走车。
第4个小时开到考试场,大部分人是大概是8小时后
第10个小时练压速度、钻杆儿,教学计划是16个小时。
不过我钻杆儿钻的不好,要求2上2下挪库,我1上1下就
给挪进去了
一直到快杆考了才能保证连续多次按要求成
功。不过杆考还是比较中规中矩,前面几个fail的MM都要我
指点她们的问题,结果我被警察给撵走了。。。
学到30个小时教练怂恿我跟一个马上要路考的MM飙车,车
速开到60公里。教练场限速是40。
学到50小时教练在车上睡着了,然后给我加大难度,比如
4档到路口才告诉我要拐弯或者4档刚加上就靠边停车等等。
然后就说”你现在可以直接上路了,不用再练了。“结果那天
下午教练和我修了一下午空调
路考的时候跟车教练都认识我,”你是4028车的那个吧“
考试考的很顺,接车的时候一个坡起,加2档3档就给了。
动作干净利落,开了也就30米的样子。
之前的两个mm都SHE2了,其他过的车速压的很低,明显
没有很快加档,估计考官对我也是很满意的吧 :)
俺们拿到一台双AMD Optron 64位CPU 1G PC733内存的机器
居然想不起来该用她干点啥
最后还是装了个SETI的client
没事找找外星仁吧。。。。。。
SETI居然没有Unix/Linux下的client
晚上又核对了一遍/etc/ppp/ppp.conf文件的内容
根据网上的另外一篇文档又敲了一遍,还是会出现
miss colon之类的错误。盯着看了半天,看到上边
default的内容每行都空出一个空格写内容,不会
是不能顶格写吧????靠,我还以为原来空出一格
是原来写这配置文件那个家伙的审美雅癖呢
果然,空一格就对了!
ADSL modem的灯闪了一下,ifconfig一看,
tun0设备多出俩IP。可是怎么是俩IP呢????
就算DHCP也就一个嘛!查了查/etc/rc.conf我设的
gateway,dns都没有。看来是写在别的地方去了
ping这两个IP都能Ping通,ping 泡网的218.5.79.176
和其他的都Ping 不通,还是不对呀
唉!没时间了,明天还要早起开会。。。
只好再说喽
另外找到了GENERIC的位置 /usr/src/sys/i386/conf
怎么编译内核忘了