diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-03-05 17:49:21 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-03-05 17:49:21 +0100 |
commit | 2798a8145fa7c349ac45b688ab346add765ace32 (patch) | |
tree | 3f4d599d7cc36312dc3a2ffc40acb7b6988e72e7 /os1w4/lotto | |
parent | db39bc7df6927dd81ccbe32dc5a247e619b58f86 (diff) |
os week 4 klaar
Diffstat (limited to 'os1w4/lotto')
-rwxr-xr-x | os1w4/lotto | 2 |
1 files changed, 2 insertions, 0 deletions
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 }' |