#!/bin/bash # # now samba & zonefile compatible # [[ ! -f $@ ]] && echo $@ not found && exit 1 sed -r '/^[[:space:]]*(;|#|$)/d' $@