是否可以在sed
里面运行命令sed
,像这样:
sed -i.bak -e '${sed -n 1,1p file.txt},$d' output.file
Run Code Online (Sandbox Code Playgroud)
我希望第一行file.txt
是 number 的输入参数,用于output.file
删除该行之后的所有行。
如何在 Elementary OS Luna 的桌面上显示图标?
我试过使用gnome-tweak-tool
,gconf-editor
但它们没有用。