#!/usr/bin/bash wai=$(dirname $(readlink -f "$0")) # Current script directory tmp=$(mktemp) cat $@ | ${wai}/.power_unique.sh > $tmp mv $tmp $@