File: post-mortem.sed

package info (click to toggle)
libreswan 5.2-2.4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 81,656 kB
  • sloc: ansic: 129,988; sh: 32,018; xml: 20,646; python: 10,303; makefile: 3,022; javascript: 1,506; sed: 574; yacc: 511; perl: 264; awk: 52
file content (16 lines) | stat: -rw-r--r-- 482 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# The post-mortem output is accumulated in the "pattern space".
# Should the end marker be missing (i.e., EOF reached) then
# unsanitized contents of the "pattern space" get dumped to stdout.

/>>>>>>>>>> post-mortem >>>>>>>>>>/ b match-post-mortem
b skip-post-mortem

:match-post-mortem
  N
  /<<<<<<<<<< post-mortem <<<<<<<<<</ b end-post-mortem
  b match-post-mortem

:end-post-mortem
  s/>>>>>>>>>> post-mortem >>>>>>>>>>.*<<<<<<<<<< post-mortem <<<<<<<<<<//

:skip-post-mortem