I really can't see why this doesn't work.
It works perfectly for me,
This is silly. There is obviously something going on.
OK, try converting the TABS to something like, the 'pipe' character
Code:
echo $var | tr '\t' '|' # \t works for 'tr' in quotes
cat file.blah | tr '\t' '|' > new.file # or the whole input file ?
can you not 'head' the input file and post it?
and the script if it's not too big?
billy