Debian Codegraph @

paolo_ov4.crm

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 #! /usr/bin/crm
2 #
3 # paolo_ov4.crm - paolo written test script
4
5 # Copyright 2009 William S. Yerazunis.
6 # This file is under GPLv3, as described in COPYING.
7 #
8
9 window
10 alter (:_dw:) /HHHHHHHHHHHHHHHHHH\nContent-Type: multipart; boundary="--0123456789"\nhhhhhhhhhhhhhhhhhhhhhh\n\nThis is a multi-part message in MIME format.\n----0123456789\nContent-Type: text\nContent-Transfer-Encoding: 7bit\n\nTTTTTTTTTTTTTTTTTTTTTTT\n\n----0123456789\nContent-Type: image\n name="clonic.GIF"\nContent-Transfer-Encoding: base64\niiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii\n\nooooooooooooooooooooooooooooooooo\noooooooooooooooooooooooooooo\n\n----0123456789--\n\n\n/
11
12 {
13 match (:: :headers: :body:) /(.*?)\n\n(.*)/
14 }
15
16 isolate (:headers:)
17 {
18 match <nomultiline> [:headers:] /^Content-Type: .* boundary="(.+)"/ \
19 (:x: :boundary:)
20 output /:boundary:=:*:boundary:\n/
21 }
22
23 isolate (:c:) /0/
24 {
25 eval (:c:) /:@::*:c:+1:/
26 match <fromend> [:body:] (:x: :headers:) /\n--:*:boundary:\n(.+?)\n\n/
27 output /:c:=:*:c:\n:*:headers:\n\n/
28 liaf
29 }