📄 l50.1a
字号:
#printSo far all the addresses you have used have beeneither line numbers, '$', or '.' (or combinationsthereof). The most useful addresses are none ofthose, but are specifications of lines by content.Anything you can ask the substitute commandto find in a line, you can ask the editor to findin a file. In particular, /xx/pis a valid command with a line address /xx/and the 'p' command operator. The address /xx/means 'the next line containing an "xx"'.So this command prints out the next line whichhas an "xx" on it. Edit the file "text" andprint the line which has "cat" on it. Thenleave the editor and type "ready".#create textThis is a short list ofthings you might findin the Sears, Roebuckcatalog. tools furniture electrical parts clothes appliances garden equipment.#copyout#user#uncopyoutgrep :catalog\. .ocopy >/dev/null#log#next50.1b 10
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -