【发布时间】:2015-01-08 17:43:10
【问题描述】:
我正在尝试查看是否有一种方法可以使用 cut 命令,但从指定的行号开始。
例如,我使用以下命令 cat 以下文件
cat -n client_custom.css
然后我得到了以下
1 /* LEFT FRAME */
2 /* Don't change this setting */
3 /* Heading image setting */
4
5 /* Use this line to repeat main_bg image */
6 div#header{background:url(main_bg.jpg) 0 0 repeat-x;}
7 /* Use this line if you have 1 big main_bg image and you don't want to repeat it
8 div#header{background:url(main_bg.jpg) 0 0 no-repeat;}
9 */
10
11 div#header-left{ background:url(left_bg.png) center 0px no-repeat; width:100%; }
12
例如,我想在第 11 行削减 2,6。请问有没有办法做到这一点?
【问题讨论】:
-
这是什么意思:“我想在第 11 行剪切 2,6”?显示,不要告诉