From 73e31b79de25298a519671ef8b6c2ab68af9c87e Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Sat, 20 Jul 2024 20:18:30 +0400 Subject: directory layout changed --- scripts/nocomment | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 scripts/nocomment (limited to 'scripts/nocomment') diff --git a/scripts/nocomment b/scripts/nocomment new file mode 100755 index 0000000..cd5f0c2 --- /dev/null +++ b/scripts/nocomment @@ -0,0 +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