downstrip 151 B

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