summaryrefslogtreecommitdiff
path: root/scripts/cli/noc
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2025-10-26 22:23:31 +0400
committerSuleyman Farajli <suleyman@farajli.net>2025-10-26 22:23:31 +0400
commitcb78290f31886fb1f9a5e7c2a764dda55a459e50 (patch)
tree72a2df0645405658d8590d4b8d7d87f1e099f596 /scripts/cli/noc
parentf8d1bfbd0f27e0763cf75fcda58d010e346515ab (diff)
chore: split script installation into CLI and GUI sections
Diffstat (limited to 'scripts/cli/noc')
-rwxr-xr-xscripts/cli/noc7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/cli/noc b/scripts/cli/noc
new file mode 100755
index 0000000..575566c
--- /dev/null
+++ b/scripts/cli/noc
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# Remove empty lines and all the comments starting with "#"
+
+for file in "${@}"; do
+ sed -i "s/\s*#.*//g; /^$/ d" "${file}"
+done