#!/bin/bash for i in *.conf; do unexpand "$i" > tmp.tmp cat tmp.tmp > "$i" rm tmp.tmp done