From bbbba88cf6eb914c53ace70a32ed8874d5e600c2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 05:01:24 +0200 Subject: Adding upstream version 1.14.1. Signed-off-by: Daniel Baumann --- tests/cli_tests/wrappager.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/cli_tests/wrappager.py (limited to 'tests/cli_tests/wrappager.py') diff --git a/tests/cli_tests/wrappager.py b/tests/cli_tests/wrappager.py new file mode 100644 index 0000000..dce86ce --- /dev/null +++ b/tests/cli_tests/wrappager.py @@ -0,0 +1,14 @@ +#!/usr/bin/env python +import sys +import fileinput + + +def wrappager(boundary): + print(boundary) + for line in fileinput.input(files="-"): + sys.stdout.write(line) + print(boundary) + + +if __name__ == "__main__": + wrappager(sys.argv[1]) -- cgit v1.2.3