From 55dc7a577dbf6e3b2986c2a89053dac4c2ceec8e Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Thu, 24 Nov 2022 19:51:11 +0100 Subject: [PATCH] compile-and-run --- compile-and-run.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 compile-and-run.sh diff --git a/compile-and-run.sh b/compile-and-run.sh new file mode 100755 index 0000000..5e72a9b --- /dev/null +++ b/compile-and-run.sh @@ -0,0 +1,4 @@ +#!/bin/bash +name=$(echo "$1" | cut -f 1 -d '.') +gcc $1 -o bin/$noext +./bin/$noext $2 $3 $4 $5 $6 $7 $8 $9