[問題] sed 用法請教
以下是centos7 /etc/init.d/network 裡的某幾行,
第二行應該是d command, 但d前面的address部分不知如何解釋?
------------------------------------------------------
sed -e "$__sed_discard_ignored_files" \
-e '/\(ifcfg-lo$\|:\|ifcfg-.*-range\)/d' \
-e '{ s/^ifcfg-//g;s/[0-9]}/ &/}' | \
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 182.235.5.18
※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1488246439.A.315.html
推
02/28 11:46, , 1F
02/28 11:46, 1F