#!/bin/sh # notabs -- remove tabs from the given files # # AUTHOR: Gary T. Leavens USAGE="$0 file ..." # no arguments? if test $# -eq 0 then echo "$USAGE" >&2 exit 1 fi for f do # old code: sed -e 's/ / /g' $f >junk.$$ expand $f >junk.$$ mv junk.$$ $f done