中国Linux公社论坛's Archiver
论坛
›
命令行使用小技巧与SHELL编程
› 请问 OPTIONS=`sed -n '/^op是这个意思马
shellray
发表于 2006-11-9 09:48:18
请问 OPTIONS=`sed -n '/^op是这个意思马
OPTIONS=`sed -n '/^options / s/options //p' $CFG`
匹配行开头的options 并将options替换为空字符 并打印
感觉有点疑惑阿
BOoRFGOnZ
发表于 2006-11-10 22:32:18
那里疑惑呢。。。不妨调试一下 :-D
页:
[1]
查看完整版本:
请问 OPTIONS=`sed -n '/^op是这个意思马