Module Name: othersrc
Committed By: agc
Date: Mon Jan 21 07:32:09 UTC 2019
Added Files:
othersrc/external/bsd/file2c: 1.expected 1.in 2.expected 3.expected
Log Message:
Add a new utility called file2c(1) to othersrc, which converts its
input stream into individual bytes, suitable for inclusion as a C
source file. This kind of utility is occasionally useful for
embedding data in C-derived libraries and executables. The utility is
similar in function, and arguments, to the utility written in C, and
included in FreeBSD. This version of the utility just uses awk(1),
and so is written as a simple shell script.
Example usage:
% echo 'Hello world' | file2c -sx 'static const char *text = {\n' '};\n'
static const char *text = {
0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x20, 0x77, 0x6f, 0x72, 0x6c,
0x64, 0xa
};
%
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/file2c/1.expected \
othersrc/external/bsd/file2c/1.in othersrc/external/bsd/file2c/2.expected \
othersrc/external/bsd/file2c/3.expected
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: othersrc/external/bsd/file2c/1.expected
diff -u /dev/null othersrc/external/bsd/file2c/1.expected:1.1
--- /dev/null Mon Jan 21 07:32:09 2019
+++ othersrc/external/bsd/file2c/1.expected Mon Jan 21 07:32:09 2019
@@ -0,0 +1,105 @@
+static const char *text = {
+ 0x23, 0x9, 0x24, 0x4e, 0x65, 0x74, 0x42, 0x53, 0x44, 0x3a,
+ 0x20, 0x70, 0x66, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2c, 0x76,
+ 0x20, 0x31, 0x2e, 0x34, 0x20, 0x32, 0x30, 0x30, 0x38, 0x2f,
+ 0x30, 0x36, 0x2f, 0x31, 0x38, 0x20, 0x30, 0x39, 0x3a, 0x30,
+ 0x36, 0x3a, 0x32, 0x35, 0x20, 0x79, 0x61, 0x6d, 0x74, 0x20,
+ 0x45, 0x78, 0x70, 0x20, 0x24, 0xa, 0x23, 0x9, 0x24, 0x4f,
+ 0x70, 0x65, 0x6e, 0x42, 0x53, 0x44, 0x3a, 0x20, 0x70, 0x66,
+ 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x2c, 0x76, 0x20, 0x31, 0x2e,
+ 0x33, 0x34, 0x20, 0x32, 0x30, 0x30, 0x37, 0x2f, 0x30, 0x32,
+ 0x2f, 0x32, 0x34, 0x20, 0x31, 0x39, 0x3a, 0x33, 0x30, 0x3a,
+ 0x35, 0x39, 0x20, 0x6d, 0x69, 0x6c, 0x6c, 0x65, 0x72, 0x74,
+ 0x20, 0x45, 0x78, 0x70, 0x20, 0x24, 0xa, 0x23, 0xa, 0x23,
+ 0x20, 0x53, 0x65, 0x65, 0x20, 0x70, 0x66, 0x2e, 0x63, 0x6f,
+ 0x6e, 0x66, 0x28, 0x35, 0x29, 0x20, 0x61, 0x6e, 0x64, 0x20,
+ 0x2f, 0x75, 0x73, 0x72, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65,
+ 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2f,
+ 0x70, 0x66, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x73, 0x79, 0x6e,
+ 0x74, 0x61, 0x78, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x65, 0x78,
+ 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0xa, 0x23, 0x20,
+ 0x52, 0x65, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x20, 0x74,
+ 0x6f, 0x20, 0x73, 0x65, 0x74, 0x20, 0x6e, 0x65, 0x74, 0x2e,
+ 0x69, 0x6e, 0x65, 0x74, 0x2e, 0x69, 0x70, 0x2e, 0x66, 0x6f,
+ 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x3d, 0x31,
+ 0x20, 0x61, 0x6e, 0x64, 0x2f, 0x6f, 0x72, 0x20, 0x6e, 0x65,
+ 0x74, 0x2e, 0x69, 0x6e, 0x65, 0x74, 0x36, 0x2e, 0x69, 0x70,
+ 0x36, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69,
+ 0x6e, 0x67, 0x3d, 0x31, 0xa, 0x23, 0x20, 0x69, 0x6e, 0x20,
+ 0x2f, 0x65, 0x74, 0x63, 0x2f, 0x73, 0x79, 0x73, 0x63, 0x74,
+ 0x6c, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x20, 0x69, 0x66, 0x20,
+ 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x20, 0x61, 0x72,
+ 0x65, 0x20, 0x74, 0x6f, 0x20, 0x62, 0x65, 0x20, 0x66, 0x6f,
+ 0x72, 0x77, 0x61, 0x72, 0x64, 0x65, 0x64, 0x20, 0x62, 0x65,
+ 0x74, 0x77, 0x65, 0x65, 0x6e, 0x20, 0x69, 0x6e, 0x74, 0x65,
+ 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2e, 0xa, 0xa, 0x23,
+ 0x65, 0x78, 0x74, 0x5f, 0x69, 0x66, 0x3d, 0x22, 0x65, 0x78,
+ 0x74, 0x30, 0x22, 0xa, 0x23, 0x69, 0x6e, 0x74, 0x5f, 0x69,
+ 0x66, 0x3d, 0x22, 0x69, 0x6e, 0x74, 0x30, 0x22, 0xa, 0xa,
+ 0x23, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x20, 0x3c, 0x73, 0x70,
+ 0x61, 0x6d, 0x64, 0x2d, 0x77, 0x68, 0x69, 0x74, 0x65, 0x3e,
+ 0x20, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0xa, 0xa,
+ 0x23, 0x73, 0x65, 0x74, 0x20, 0x73, 0x6b, 0x69, 0x70, 0x20,
+ 0x6f, 0x6e, 0x20, 0x6c, 0x6f, 0xa, 0xa, 0x23, 0x73, 0x63,
+ 0x72, 0x75, 0x62, 0x20, 0x69, 0x6e, 0xa, 0xa, 0x23, 0x6e,
+ 0x61, 0x74, 0x2d, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x20,
+ 0x22, 0x66, 0x74, 0x70, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79,
+ 0x2f, 0x2a, 0x22, 0xa, 0x23, 0x72, 0x64, 0x72, 0x2d, 0x61,
+ 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x20, 0x22, 0x66, 0x74, 0x70,
+ 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x2a, 0x22, 0xa,
+ 0x23, 0x6e, 0x61, 0x74, 0x20, 0x6f, 0x6e, 0x20, 0x24, 0x65,
+ 0x78, 0x74, 0x5f, 0x69, 0x66, 0x20, 0x66, 0x72, 0x6f, 0x6d,
+ 0x20, 0x21, 0x28, 0x24, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x66,
+ 0x29, 0x20, 0x2d, 0x3e, 0x20, 0x28, 0x24, 0x65, 0x78, 0x74,
+ 0x5f, 0x69, 0x66, 0x3a, 0x30, 0x29, 0xa, 0x23, 0x72, 0x64,
+ 0x72, 0x20, 0x70, 0x61, 0x73, 0x73, 0x20, 0x6f, 0x6e, 0x20,
+ 0x24, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x66, 0x20, 0x70, 0x72,
+ 0x6f, 0x74, 0x6f, 0x20, 0x74, 0x63, 0x70, 0x20, 0x74, 0x6f,
+ 0x20, 0x70, 0x6f, 0x72, 0x74, 0x20, 0x66, 0x74, 0x70, 0x20,
+ 0x2d, 0x3e, 0x20, 0x31, 0x32, 0x37, 0x2e, 0x30, 0x2e, 0x30,
+ 0x2e, 0x31, 0x20, 0x70, 0x6f, 0x72, 0x74, 0x20, 0x38, 0x30,
+ 0x32, 0x31, 0xa, 0x23, 0x6e, 0x6f, 0x20, 0x72, 0x64, 0x72,
+ 0x20, 0x6f, 0x6e, 0x20, 0x24, 0x65, 0x78, 0x74, 0x5f, 0x69,
+ 0x66, 0x20, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x20, 0x74, 0x63,
+ 0x70, 0x20, 0x66, 0x72, 0x6f, 0x6d, 0x20, 0x3c, 0x73, 0x70,
+ 0x61, 0x6d, 0x64, 0x2d, 0x77, 0x68, 0x69, 0x74, 0x65, 0x3e,
+ 0x20, 0x74, 0x6f, 0x20, 0x61, 0x6e, 0x79, 0x20, 0x70, 0x6f,
+ 0x72, 0x74, 0x20, 0x73, 0x6d, 0x74, 0x70, 0xa, 0x23, 0x72,
+ 0x64, 0x72, 0x20, 0x70, 0x61, 0x73, 0x73, 0x20, 0x6f, 0x6e,
+ 0x20, 0x24, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x66, 0x20, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x20, 0x74, 0x63, 0x70, 0x20, 0x66,
+ 0x72, 0x6f, 0x6d, 0x20, 0x61, 0x6e, 0x79, 0x20, 0x74, 0x6f,
+ 0x20, 0x61, 0x6e, 0x79, 0x20, 0x70, 0x6f, 0x72, 0x74, 0x20,
+ 0x73, 0x6d, 0x74, 0x70, 0x20, 0x5c, 0xa, 0x23, 0x9, 0x2d,
+ 0x3e, 0x20, 0x31, 0x32, 0x37, 0x2e, 0x30, 0x2e, 0x30, 0x2e,
+ 0x31, 0x20, 0x70, 0x6f, 0x72, 0x74, 0x20, 0x73, 0x70, 0x61,
+ 0x6d, 0x64, 0xa, 0xa, 0x23, 0x61, 0x6e, 0x63, 0x68, 0x6f,
+ 0x72, 0x20, 0x22, 0x66, 0x74, 0x70, 0x2d, 0x70, 0x72, 0x6f,
+ 0x78, 0x79, 0x2f, 0x2a, 0x22, 0xa, 0x23, 0x62, 0x6c, 0x6f,
+ 0x63, 0x6b, 0x20, 0x69, 0x6e, 0xa, 0x23, 0x70, 0x61, 0x73,
+ 0x73, 0x20, 0x6f, 0x75, 0x74, 0xa, 0xa, 0x23, 0x70, 0x61,
+ 0x73, 0x73, 0x20, 0x71, 0x75, 0x69, 0x63, 0x6b, 0x20, 0x6f,
+ 0x6e, 0x20, 0x24, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x66, 0x20,
+ 0x6e, 0x6f, 0x20, 0x73, 0x74, 0x61, 0x74, 0x65, 0xa, 0x23,
+ 0x61, 0x6e, 0x74, 0x69, 0x73, 0x70, 0x6f, 0x6f, 0x66, 0x20,
+ 0x71, 0x75, 0x69, 0x63, 0x6b, 0x20, 0x66, 0x6f, 0x72, 0x20,
+ 0x7b, 0x20, 0x6c, 0x6f, 0x20, 0x24, 0x69, 0x6e, 0x74, 0x5f,
+ 0x69, 0x66, 0x20, 0x7d, 0xa, 0xa, 0x23, 0x70, 0x61, 0x73,
+ 0x73, 0x20, 0x69, 0x6e, 0x20, 0x6f, 0x6e, 0x20, 0x24, 0x65,
+ 0x78, 0x74, 0x5f, 0x69, 0x66, 0x20, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x20, 0x74, 0x63, 0x70, 0x20, 0x74, 0x6f, 0x20, 0x28,
+ 0x24, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x66, 0x29, 0x20, 0x70,
+ 0x6f, 0x72, 0x74, 0x20, 0x73, 0x73, 0x68, 0xa, 0x23, 0x70,
+ 0x61, 0x73, 0x73, 0x20, 0x69, 0x6e, 0x20, 0x6c, 0x6f, 0x67,
+ 0x20, 0x6f, 0x6e, 0x20, 0x24, 0x65, 0x78, 0x74, 0x5f, 0x69,
+ 0x66, 0x20, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x20, 0x74, 0x63,
+ 0x70, 0x20, 0x74, 0x6f, 0x20, 0x28, 0x24, 0x65, 0x78, 0x74,
+ 0x5f, 0x69, 0x66, 0x29, 0x20, 0x70, 0x6f, 0x72, 0x74, 0x20,
+ 0x73, 0x6d, 0x74, 0x70, 0xa, 0x23, 0x70, 0x61, 0x73, 0x73,
+ 0x20, 0x6f, 0x75, 0x74, 0x20, 0x6c, 0x6f, 0x67, 0x20, 0x6f,
+ 0x6e, 0x20, 0x24, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x66, 0x20,
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x20, 0x74, 0x63, 0x70, 0x20,
+ 0x66, 0x72, 0x6f, 0x6d, 0x20, 0x28, 0x24, 0x65, 0x78, 0x74,
+ 0x5f, 0x69, 0x66, 0x29, 0x20, 0x74, 0x6f, 0x20, 0x70, 0x6f,
+ 0x72, 0x74, 0x20, 0x73, 0x6d, 0x74, 0x70, 0xa
+};
Index: othersrc/external/bsd/file2c/1.in
diff -u /dev/null othersrc/external/bsd/file2c/1.in:1.1
--- /dev/null Mon Jan 21 07:32:09 2019
+++ othersrc/external/bsd/file2c/1.in Mon Jan 21 07:32:09 2019
@@ -0,0 +1,34 @@
+# $NetBSD: 1.in,v 1.1 2019/01/21 07:32:09 agc Exp $
+# $OpenBSD: pf.conf,v 1.34 2007/02/24 19:30:59 millert Exp $
+#
+# See pf.conf(5) and /usr/share/examples/pf for syntax and examples.
+# Remember to set net.inet.ip.forwarding=1 and/or net.inet6.ip6.forwarding=1
+# in /etc/sysctl.conf if packets are to be forwarded between interfaces.
+
+#ext_if="ext0"
+#int_if="int0"
+
+#table <spamd-white> persist
+
+#set skip on lo
+
+#scrub in
+
+#nat-anchor "ftp-proxy/*"
+#rdr-anchor "ftp-proxy/*"
+#nat on $ext_if from !($ext_if) -> ($ext_if:0)
+#rdr pass on $int_if proto tcp to port ftp -> 127.0.0.1 port 8021
+#no rdr on $ext_if proto tcp from <spamd-white> to any port smtp
+#rdr pass on $ext_if proto tcp from any to any port smtp \
+# -> 127.0.0.1 port spamd
+
+#anchor "ftp-proxy/*"
+#block in
+#pass out
+
+#pass quick on $int_if no state
+#antispoof quick for { lo $int_if }
+
+#pass in on $ext_if proto tcp to ($ext_if) port ssh
+#pass in log on $ext_if proto tcp to ($ext_if) port smtp
+#pass out log on $ext_if proto tcp from ($ext_if) to port smtp
Index: othersrc/external/bsd/file2c/2.expected
diff -u /dev/null othersrc/external/bsd/file2c/2.expected:1.1
--- /dev/null Mon Jan 21 07:32:09 2019
+++ othersrc/external/bsd/file2c/2.expected Mon Jan 21 07:32:09 2019
@@ -0,0 +1,76 @@
+static const char *text = {
+ 35, 9, 36, 78, 101, 116, 66, 83, 68, 58, 32, 112, 102, 46,
+ 99, 111, 110, 102, 44, 118, 32, 49, 46, 52, 32, 50, 48, 48,
+ 56, 47, 48, 54, 47, 49, 56, 32, 48, 57, 58, 48, 54, 58,
+ 50, 53, 32, 121, 97, 109, 116, 32, 69, 120, 112, 32, 36, 10,
+ 35, 9, 36, 79, 112, 101, 110, 66, 83, 68, 58, 32, 112, 102,
+ 46, 99, 111, 110, 102, 44, 118, 32, 49, 46, 51, 52, 32, 50,
+ 48, 48, 55, 47, 48, 50, 47, 50, 52, 32, 49, 57, 58, 51,
+ 48, 58, 53, 57, 32, 109, 105, 108, 108, 101, 114, 116, 32, 69,
+ 120, 112, 32, 36, 10, 35, 10, 35, 32, 83, 101, 101, 32, 112,
+ 102, 46, 99, 111, 110, 102, 40, 53, 41, 32, 97, 110, 100, 32,
+ 47, 117, 115, 114, 47, 115, 104, 97, 114, 101, 47, 101, 120, 97,
+ 109, 112, 108, 101, 115, 47, 112, 102, 32, 102, 111, 114, 32, 115,
+ 121, 110, 116, 97, 120, 32, 97, 110, 100, 32, 101, 120, 97, 109,
+ 112, 108, 101, 115, 46, 10, 35, 32, 82, 101, 109, 101, 109, 98,
+ 101, 114, 32, 116, 111, 32, 115, 101, 116, 32, 110, 101, 116, 46,
+ 105, 110, 101, 116, 46, 105, 112, 46, 102, 111, 114, 119, 97, 114,
+ 100, 105, 110, 103, 61, 49, 32, 97, 110, 100, 47, 111, 114, 32,
+ 110, 101, 116, 46, 105, 110, 101, 116, 54, 46, 105, 112, 54, 46,
+ 102, 111, 114, 119, 97, 114, 100, 105, 110, 103, 61, 49, 10, 35,
+ 32, 105, 110, 32, 47, 101, 116, 99, 47, 115, 121, 115, 99, 116,
+ 108, 46, 99, 111, 110, 102, 32, 105, 102, 32, 112, 97, 99, 107,
+ 101, 116, 115, 32, 97, 114, 101, 32, 116, 111, 32, 98, 101, 32,
+ 102, 111, 114, 119, 97, 114, 100, 101, 100, 32, 98, 101, 116, 119,
+ 101, 101, 110, 32, 105, 110, 116, 101, 114, 102, 97, 99, 101, 115,
+ 46, 10, 10, 35, 101, 120, 116, 95, 105, 102, 61, 34, 101, 120,
+ 116, 48, 34, 10, 35, 105, 110, 116, 95, 105, 102, 61, 34, 105,
+ 110, 116, 48, 34, 10, 10, 35, 116, 97, 98, 108, 101, 32, 60,
+ 115, 112, 97, 109, 100, 45, 119, 104, 105, 116, 101, 62, 32, 112,
+ 101, 114, 115, 105, 115, 116, 10, 10, 35, 115, 101, 116, 32, 115,
+ 107, 105, 112, 32, 111, 110, 32, 108, 111, 10, 10, 35, 115, 99,
+ 114, 117, 98, 32, 105, 110, 10, 10, 35, 110, 97, 116, 45, 97,
+ 110, 99, 104, 111, 114, 32, 34, 102, 116, 112, 45, 112, 114, 111,
+ 120, 121, 47, 42, 34, 10, 35, 114, 100, 114, 45, 97, 110, 99,
+ 104, 111, 114, 32, 34, 102, 116, 112, 45, 112, 114, 111, 120, 121,
+ 47, 42, 34, 10, 35, 110, 97, 116, 32, 111, 110, 32, 36, 101,
+ 120, 116, 95, 105, 102, 32, 102, 114, 111, 109, 32, 33, 40, 36,
+ 101, 120, 116, 95, 105, 102, 41, 32, 45, 62, 32, 40, 36, 101,
+ 120, 116, 95, 105, 102, 58, 48, 41, 10, 35, 114, 100, 114, 32,
+ 112, 97, 115, 115, 32, 111, 110, 32, 36, 105, 110, 116, 95, 105,
+ 102, 32, 112, 114, 111, 116, 111, 32, 116, 99, 112, 32, 116, 111,
+ 32, 112, 111, 114, 116, 32, 102, 116, 112, 32, 45, 62, 32, 49,
+ 50, 55, 46, 48, 46, 48, 46, 49, 32, 112, 111, 114, 116, 32,
+ 56, 48, 50, 49, 10, 35, 110, 111, 32, 114, 100, 114, 32, 111,
+ 110, 32, 36, 101, 120, 116, 95, 105, 102, 32, 112, 114, 111, 116,
+ 111, 32, 116, 99, 112, 32, 102, 114, 111, 109, 32, 60, 115, 112,
+ 97, 109, 100, 45, 119, 104, 105, 116, 101, 62, 32, 116, 111, 32,
+ 97, 110, 121, 32, 112, 111, 114, 116, 32, 115, 109, 116, 112, 10,
+ 35, 114, 100, 114, 32, 112, 97, 115, 115, 32, 111, 110, 32, 36,
+ 101, 120, 116, 95, 105, 102, 32, 112, 114, 111, 116, 111, 32, 116,
+ 99, 112, 32, 102, 114, 111, 109, 32, 97, 110, 121, 32, 116, 111,
+ 32, 97, 110, 121, 32, 112, 111, 114, 116, 32, 115, 109, 116, 112,
+ 32, 92, 10, 35, 9, 45, 62, 32, 49, 50, 55, 46, 48, 46,
+ 48, 46, 49, 32, 112, 111, 114, 116, 32, 115, 112, 97, 109, 100,
+ 10, 10, 35, 97, 110, 99, 104, 111, 114, 32, 34, 102, 116, 112,
+ 45, 112, 114, 111, 120, 121, 47, 42, 34, 10, 35, 98, 108, 111,
+ 99, 107, 32, 105, 110, 10, 35, 112, 97, 115, 115, 32, 111, 117,
+ 116, 10, 10, 35, 112, 97, 115, 115, 32, 113, 117, 105, 99, 107,
+ 32, 111, 110, 32, 36, 105, 110, 116, 95, 105, 102, 32, 110, 111,
+ 32, 115, 116, 97, 116, 101, 10, 35, 97, 110, 116, 105, 115, 112,
+ 111, 111, 102, 32, 113, 117, 105, 99, 107, 32, 102, 111, 114, 32,
+ 123, 32, 108, 111, 32, 36, 105, 110, 116, 95, 105, 102, 32, 125,
+ 10, 10, 35, 112, 97, 115, 115, 32, 105, 110, 32, 111, 110, 32,
+ 36, 101, 120, 116, 95, 105, 102, 32, 112, 114, 111, 116, 111, 32,
+ 116, 99, 112, 32, 116, 111, 32, 40, 36, 101, 120, 116, 95, 105,
+ 102, 41, 32, 112, 111, 114, 116, 32, 115, 115, 104, 10, 35, 112,
+ 97, 115, 115, 32, 105, 110, 32, 108, 111, 103, 32, 111, 110, 32,
+ 36, 101, 120, 116, 95, 105, 102, 32, 112, 114, 111, 116, 111, 32,
+ 116, 99, 112, 32, 116, 111, 32, 40, 36, 101, 120, 116, 95, 105,
+ 102, 41, 32, 112, 111, 114, 116, 32, 115, 109, 116, 112, 10, 35,
+ 112, 97, 115, 115, 32, 111, 117, 116, 32, 108, 111, 103, 32, 111,
+ 110, 32, 36, 101, 120, 116, 95, 105, 102, 32, 112, 114, 111, 116,
+ 111, 32, 116, 99, 112, 32, 102, 114, 111, 109, 32, 40, 36, 101,
+ 120, 116, 95, 105, 102, 41, 32, 116, 111, 32, 112, 111, 114, 116,
+ 32, 115, 109, 116, 112, 10
+};
Index: othersrc/external/bsd/file2c/3.expected
diff -u /dev/null othersrc/external/bsd/file2c/3.expected:1.1
--- /dev/null Mon Jan 21 07:32:09 2019
+++ othersrc/external/bsd/file2c/3.expected Mon Jan 21 07:32:09 2019
@@ -0,0 +1,76 @@
+static const char *text = {
+35, 9, 36, 78, 101, 116, 66, 83, 68, 58, 32, 112, 102, 46,
+99, 111, 110, 102, 44, 118, 32, 49, 46, 52, 32, 50, 48, 48,
+56, 47, 48, 54, 47, 49, 56, 32, 48, 57, 58, 48, 54, 58,
+50, 53, 32, 121, 97, 109, 116, 32, 69, 120, 112, 32, 36, 10,
+35, 9, 36, 79, 112, 101, 110, 66, 83, 68, 58, 32, 112, 102,
+46, 99, 111, 110, 102, 44, 118, 32, 49, 46, 51, 52, 32, 50,
+48, 48, 55, 47, 48, 50, 47, 50, 52, 32, 49, 57, 58, 51,
+48, 58, 53, 57, 32, 109, 105, 108, 108, 101, 114, 116, 32, 69,
+120, 112, 32, 36, 10, 35, 10, 35, 32, 83, 101, 101, 32, 112,
+102, 46, 99, 111, 110, 102, 40, 53, 41, 32, 97, 110, 100, 32,
+47, 117, 115, 114, 47, 115, 104, 97, 114, 101, 47, 101, 120, 97,
+109, 112, 108, 101, 115, 47, 112, 102, 32, 102, 111, 114, 32, 115,
+121, 110, 116, 97, 120, 32, 97, 110, 100, 32, 101, 120, 97, 109,
+112, 108, 101, 115, 46, 10, 35, 32, 82, 101, 109, 101, 109, 98,
+101, 114, 32, 116, 111, 32, 115, 101, 116, 32, 110, 101, 116, 46,
+105, 110, 101, 116, 46, 105, 112, 46, 102, 111, 114, 119, 97, 114,
+100, 105, 110, 103, 61, 49, 32, 97, 110, 100, 47, 111, 114, 32,
+110, 101, 116, 46, 105, 110, 101, 116, 54, 46, 105, 112, 54, 46,
+102, 111, 114, 119, 97, 114, 100, 105, 110, 103, 61, 49, 10, 35,
+32, 105, 110, 32, 47, 101, 116, 99, 47, 115, 121, 115, 99, 116,
+108, 46, 99, 111, 110, 102, 32, 105, 102, 32, 112, 97, 99, 107,
+101, 116, 115, 32, 97, 114, 101, 32, 116, 111, 32, 98, 101, 32,
+102, 111, 114, 119, 97, 114, 100, 101, 100, 32, 98, 101, 116, 119,
+101, 101, 110, 32, 105, 110, 116, 101, 114, 102, 97, 99, 101, 115,
+46, 10, 10, 35, 101, 120, 116, 95, 105, 102, 61, 34, 101, 120,
+116, 48, 34, 10, 35, 105, 110, 116, 95, 105, 102, 61, 34, 105,
+110, 116, 48, 34, 10, 10, 35, 116, 97, 98, 108, 101, 32, 60,
+115, 112, 97, 109, 100, 45, 119, 104, 105, 116, 101, 62, 32, 112,
+101, 114, 115, 105, 115, 116, 10, 10, 35, 115, 101, 116, 32, 115,
+107, 105, 112, 32, 111, 110, 32, 108, 111, 10, 10, 35, 115, 99,
+114, 117, 98, 32, 105, 110, 10, 10, 35, 110, 97, 116, 45, 97,
+110, 99, 104, 111, 114, 32, 34, 102, 116, 112, 45, 112, 114, 111,
+120, 121, 47, 42, 34, 10, 35, 114, 100, 114, 45, 97, 110, 99,
+104, 111, 114, 32, 34, 102, 116, 112, 45, 112, 114, 111, 120, 121,
+47, 42, 34, 10, 35, 110, 97, 116, 32, 111, 110, 32, 36, 101,
+120, 116, 95, 105, 102, 32, 102, 114, 111, 109, 32, 33, 40, 36,
+101, 120, 116, 95, 105, 102, 41, 32, 45, 62, 32, 40, 36, 101,
+120, 116, 95, 105, 102, 58, 48, 41, 10, 35, 114, 100, 114, 32,
+112, 97, 115, 115, 32, 111, 110, 32, 36, 105, 110, 116, 95, 105,
+102, 32, 112, 114, 111, 116, 111, 32, 116, 99, 112, 32, 116, 111,
+32, 112, 111, 114, 116, 32, 102, 116, 112, 32, 45, 62, 32, 49,
+50, 55, 46, 48, 46, 48, 46, 49, 32, 112, 111, 114, 116, 32,
+56, 48, 50, 49, 10, 35, 110, 111, 32, 114, 100, 114, 32, 111,
+110, 32, 36, 101, 120, 116, 95, 105, 102, 32, 112, 114, 111, 116,
+111, 32, 116, 99, 112, 32, 102, 114, 111, 109, 32, 60, 115, 112,
+97, 109, 100, 45, 119, 104, 105, 116, 101, 62, 32, 116, 111, 32,
+97, 110, 121, 32, 112, 111, 114, 116, 32, 115, 109, 116, 112, 10,
+35, 114, 100, 114, 32, 112, 97, 115, 115, 32, 111, 110, 32, 36,
+101, 120, 116, 95, 105, 102, 32, 112, 114, 111, 116, 111, 32, 116,
+99, 112, 32, 102, 114, 111, 109, 32, 97, 110, 121, 32, 116, 111,
+32, 97, 110, 121, 32, 112, 111, 114, 116, 32, 115, 109, 116, 112,
+32, 92, 10, 35, 9, 45, 62, 32, 49, 50, 55, 46, 48, 46,
+48, 46, 49, 32, 112, 111, 114, 116, 32, 115, 112, 97, 109, 100,
+10, 10, 35, 97, 110, 99, 104, 111, 114, 32, 34, 102, 116, 112,
+45, 112, 114, 111, 120, 121, 47, 42, 34, 10, 35, 98, 108, 111,
+99, 107, 32, 105, 110, 10, 35, 112, 97, 115, 115, 32, 111, 117,
+116, 10, 10, 35, 112, 97, 115, 115, 32, 113, 117, 105, 99, 107,
+32, 111, 110, 32, 36, 105, 110, 116, 95, 105, 102, 32, 110, 111,
+32, 115, 116, 97, 116, 101, 10, 35, 97, 110, 116, 105, 115, 112,
+111, 111, 102, 32, 113, 117, 105, 99, 107, 32, 102, 111, 114, 32,
+123, 32, 108, 111, 32, 36, 105, 110, 116, 95, 105, 102, 32, 125,
+10, 10, 35, 112, 97, 115, 115, 32, 105, 110, 32, 111, 110, 32,
+36, 101, 120, 116, 95, 105, 102, 32, 112, 114, 111, 116, 111, 32,
+116, 99, 112, 32, 116, 111, 32, 40, 36, 101, 120, 116, 95, 105,
+102, 41, 32, 112, 111, 114, 116, 32, 115, 115, 104, 10, 35, 112,
+97, 115, 115, 32, 105, 110, 32, 108, 111, 103, 32, 111, 110, 32,
+36, 101, 120, 116, 95, 105, 102, 32, 112, 114, 111, 116, 111, 32,
+116, 99, 112, 32, 116, 111, 32, 40, 36, 101, 120, 116, 95, 105,
+102, 41, 32, 112, 111, 114, 116, 32, 115, 109, 116, 112, 10, 35,
+112, 97, 115, 115, 32, 111, 117, 116, 32, 108, 111, 103, 32, 111,
+110, 32, 36, 101, 120, 116, 95, 105, 102, 32, 112, 114, 111, 116,
+111, 32, 116, 99, 112, 32, 102, 114, 111, 109, 32, 40, 36, 101,
+120, 116, 95, 105, 102, 41, 32, 116, 111, 32, 112, 111, 114, 116,
+32, 115, 109, 116, 112, 10
+};