From d1e8f727620479a98ad568e8e3dc98e84bef45b2 Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Sun, 18 Feb 2024 17:36:51 +0400 Subject: version 0.2 --- src/scripts/nocomment | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/scripts/nocomment') diff --git a/src/scripts/nocomment b/src/scripts/nocomment index 9c62cc8..cd5f0c2 100755 --- a/src/scripts/nocomment +++ b/src/scripts/nocomment @@ -1,3 +1,6 @@ #!/bin/sh +# Remove all the commments in the given file +# Comments are considered to start with "#" + sed -i "s/\s*#.*//g; /^$/ d" $1 -- cgit v1.2.3