From 2798a8145fa7c349ac45b688ab346add765ace32 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sun, 5 Mar 2023 17:49:21 +0100 Subject: os week 4 klaar --- os1w4/lotto | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 os1w4/lotto (limited to 'os1w4/lotto') diff --git a/os1w4/lotto b/os1w4/lotto new file mode 100755 index 0000000..74c6457 --- /dev/null +++ b/os1w4/lotto @@ -0,0 +1,2 @@ +#!/bin/sh +seq 42 | shuf | head -n 7 | sort -n | sed -z -e 's/\n/ /g' | awk '1{ print "de lottogetallen zijn: "$1" "$2" "$3" "$5" "$6" "$7", en het reservergetal is: "$4 }' -- cgit v1.2.3