summaryrefslogtreecommitdiff
path: root/package/shorewall-common/files/downstrip
blob: 040eded62d7b11db9f0d45393a550403a5eb8c7a (plain)
1
2
3
4
5
6
7
#!/bin/sh

cd $1
for i in $( ls -1 $1 |grep -v ".template"); do
    sed -e '/^$/d' -e '/^#$/d' -e '/^#[^!]/d' -e '/^[ *]$/d' -e 's/\t/ /g' -i $i
done