把drivers目录下的所有pr_log替换成:pr_snd
sed -i "s/pr_log/pr_snd/g" `grep pr_log -rl drivers/`
把drivers目录下所有的pr_snd替换成://pr_snd
sed -i "s/pr_snd/\/\/pr_snd/g" `grep pr_log -rl drivers/`
需要利用转义字符\/来输出/
把drivers目录下的所有pr_log替换成:pr_snd
sed -i "s/pr_log/pr_snd/g" `grep pr_log -rl drivers/`
把drivers目录下所有的pr_snd替换成://pr_snd
sed -i "s/pr_snd/\/\/pr_snd/g" `grep pr_log -rl drivers/`
需要利用转义字符\/来输出/