summaryrefslogtreecommitdiff
path: root/scripts/noc
blob: 575566c14000d9c461d82f438c1e064422d8e811 (plain)
1
2
3
4
5
6
7
#!/bin/sh

# Remove empty lines and all the comments starting with "#"

for file in "${@}"; do
	sed -i "s/\s*#.*//g; /^$/ d" "${file}"
done