aboutsummaryrefslogtreecommitdiff
path: root/entries/chameco/driver.sh
diff options
context:
space:
mode:
authorSamuel Breese2022-10-28 00:22:36 +0000
committerSamuel Breese2022-10-28 00:22:36 +0000
commit70dbfad88da8fbeb9d7016e88db50e6e926715e8 (patch)
tree81195bce93c35dc643525910ddc8f931c7d08999 /entries/chameco/driver.sh
parent45785803fa5ba724bc87923357ece5e184221a73 (diff)
Add idiomatic Perl5 implementation
Diffstat (limited to 'entries/chameco/driver.sh')
-rwxr-xr-xentries/chameco/driver.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/entries/chameco/driver.sh b/entries/chameco/driver.sh
new file mode 100755
index 0000000..1f90a04
--- /dev/null
+++ b/entries/chameco/driver.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+cp fib.pl result.pl
+for _ in $(seq "$1"); do
+ echo "$(perl result.pl)" > result.pl
+done
+wc -l result.pl