Robert L. Harris wrote: > cat <file> | sed -e 's/;$//g' > file2 I think this is where someone (not me, never me) makes a football analogy involving an N-yard penalty for unnecessary use of "cat". Though to be fair, my response contained an unnecessary use of copy-a-1.3GB-file, so I'll be quiet now. -- JK