From e46edef936753bec622b29b257a1bef4cff4903c Mon Sep 17 00:00:00 2001 From: Sven Riwoldt Date: Sun, 19 Nov 2023 17:52:30 +0100 Subject: [PATCH] sh --- projects/06/add/asm.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 projects/06/add/asm.sh diff --git a/projects/06/add/asm.sh b/projects/06/add/asm.sh new file mode 100755 index 0000000..e1d6f5c --- /dev/null +++ b/projects/06/add/asm.sh @@ -0,0 +1,13 @@ +#!/bin/bash +set -x +inputfile=$1 + +while IFS= read -r line + do + if [ $line != "//*" ] + then + echo $line + fi + done < $inputfile + +