📄 l5.1c
字号:
#printAnother use for pipes is to replace a command sequence that wedid earlier with "cat", "pr" and a temporary file. If you havea bunch of small files, using "pr" on them directly wastespaper, since each file takes a page. You could say cat memo* >temp pr temp rm tempbut this is a nuisance (and the output willhave the title "temp" on each page). So usea pipe instead.In this directory there are some files whosenames begin with "word". Use "cat", "pr" and a pipeto print them, then type "ready".#create word1nowisthetimeforall#create word2goodmentocometotheaid#create word3oftheirparty.#copyin#user#uncopyingrep 'cat word.*| *pr' <.copy >/dev/null#log#next5.1d 10
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -