From 945a097fa770d39f95e17a5b8a2c69d3a13e0360 Mon Sep 17 00:00:00 2001 From: ilsix Date: Thu, 4 Apr 2024 22:30:28 +0200 Subject: [PATCH] Tested COBOL --- cobol/helloworld.cbl | 4 ++-- cobol/test.sh | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100755 cobol/test.sh diff --git a/cobol/helloworld.cbl b/cobol/helloworld.cbl index 2d2a209..8a460c8 100644 --- a/cobol/helloworld.cbl +++ b/cobol/helloworld.cbl @@ -2,5 +2,5 @@ IDENTIFICATION DIVISION. PROGRAM-ID. HELLOWORLD. PROCEDURE DIVISION. -DISPLAY "Hello World in COBOL!". -STOP RUN. \ No newline at end of file +DISPLAY "Hello World!". +STOP RUN. diff --git a/cobol/test.sh b/cobol/test.sh new file mode 100755 index 0000000..05d5909 --- /dev/null +++ b/cobol/test.sh @@ -0,0 +1,3 @@ +#!/bin/bash +cobc -x -free helloworld.cbl +./helloworld \ No newline at end of file