#!/bin/sh
# url: http://pank.org/scripts/
# description: convert tab to spaces in file
# comment: csh bash
# platform: linux

if [ -z $1 ] ; then
    echo "`basename $0` {file}"
else
    sed -i.orig 's/\t/        /g' $1
fi