sedding2

来自「UNIX[1].shell范例精解(第4版)_code」· 代码 · 共 14 行

TXT
14
字号
# This script demonstrates the use of curly braces to nest addresses# and commands. Comments are preceded by a pound sign (#) and must# be on a line by themselves. Commands are terminated with a newline# or semicolon.  If there is any text after a command, even one# space, you receive an error message:#      sed: Extra text at end of command: /western/, /southeast/{   /^ *$/d   /Suan/{ h; d; }} /Ann/g s/TB \(Savage\)/Thomas \1/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?