Our final sed example uses the = command to print line numbers and then filter the resulting output through sed again to mimic the effect of the nl command to number lines.
最后一个sed示例使用 =命令输出行号,然后再次使用 sed过滤生成的输出,以模拟使用nl 命令对行进行编号的效果。
Our final sed example uses the = command to print line numbers and then filter the resulting output through sed again to mimic the effect of the nl command to number lines.
最后一个sed示例使用 =命令输出行号,然后再次使用 sed过滤生成的输出,以模拟使用nl 命令对行进行编号的效果。
应用推荐