sed是基于行的,因此按顺序对每一行执行命令。
Sed is line-based, so the commands are performed on each line in order.
通过使用多个- c参数,您可以构造一组有序的步骤,所有命令将按从左到右的顺序执行。
By using multiple -c arguments, you can construct an ordered set of steps, as all commands are executed left to right.
在执行您想要捕获与它的交互的任何命令时,可以键入exit命令(大多数系统上也可以按Control - d组合键)来终止shell。
When you're done executing any commands that you want to capture your interaction with, you can type the exit command (or the Control-d key combination on most systems) to terminate the shell.
应用推荐