summaryrefslogtreecommitdiff
path: root/src/scripts/nocomment
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts/nocomment')
-rwxr-xr-xsrc/scripts/nocomment3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/scripts/nocomment b/src/scripts/nocomment
new file mode 100755
index 0000000..9c62cc8
--- /dev/null
+++ b/src/scripts/nocomment
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+sed -i "s/\s*#.*//g; /^$/ d" $1