|

楼主 |
发表于 2006-4-13 13:33:21
|
显示全部楼层
Post by yongjian
an awk cmd:
1. -F: means set the delimiter to :
2. /^[^#]/ : pattern match using regex, meaning lines starting from no #.
3. {printf "%s", $1}: a format print for field 1.
Suggest you take a look some basic sed/awk threads in this forum.
和regex[匹配,regex是什么呢?
starting from no #。 从no#开始? no #是什么?
$1是变量,那%s呢?
我在看awk和sed教程
谢谢,还有个问题我想请教一下,关于stopweblogic.sh这个shell的。
嘿嘿,麻烦了 |
|