作者jcppkkk (阿哲)
看板FreeBSD
標題[問題] 請問如何用sed作指定行插入指定內容
時間Tue Aug 1 15:59:02 2006
找各大說明來照著作..但做不出來...
要做的是編輯 /etc/X11/xorg.conf,
在 FontPath 區段最前面加入 TrueType 及 local 二個路徑
如下
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
+ FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"
+ FontPath "/usr/X11R6/lib/X11/fonts/local/"
...
請問可能用sed做出來嗎?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 219.68.83.83