"Patrick Kirk" <[EMAIL PROTECTED]> writes: > Can you recall the name of any of these Windows utilities? Or has nayone > done this in the past and have the awk script lying about? > > The problem is the lf -> crlf switch. Just reverse it. There > > will be posts saying this won't work but it will. You'd think > > it doesn't work because what about valid crlf pairs in the > > original data. But they get changed to crcrlf by the ascii
Ah, good point. Assuming it's true: perl -ne 's/\r\n/\n/g; print;' broken.tar > fixed.tar should do the trick. Cheers, Phil.