From 67744974df46b1f78de9acc227f62d1e6db5f393 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 17 Jan 2023 01:21:52 +0900 Subject: スライド作成 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test.sh (limited to 'test.sh') diff --git a/test.sh b/test.sh new file mode 100644 index 0000000..87efd7c --- /dev/null +++ b/test.sh @@ -0,0 +1,13 @@ +if [[ ! "$(php polyglot.txt)" = '#php' ]]; then + echo php >&2 + exit 1 +fi +if [[ ! "$(ruby polyglot.txt)" = '#ruby' ]]; then + echo ruby >&2 + exit 1 +fi +if [[ ! "$(perl polyglot.txt)" = '#perl' ]]; then + echo perl >&2 + exit 1 +fi +echo okay -- cgit v1.2.3-70-g09d2