On Wed, 6 Feb 2002, Nate Straz wrote:
> On Tue, Jan 29, 2002 at 09:16:31AM -0600, mjn wrote:
> > I uploaded a zip file to our novell ftp server in acsii mode and now I
> > cannot unpack it...any utilities out there to fix this? I really don't
> > understand WHY it doesn't open any longer...
>
> It may not work, but you need to convert all of the CR/LF to CR. You
> could try to use sed to do this, but I don't remember the command line.
Quoting Thomas Eibner:
perl -pi -e 's/\r\n/\n/' file
(I think that's the right one.)
Just keep in mind that this is potentially unreliable; if there were any
naturally occurring \r\n's in the zip file, they'll be convert to \n along
with the rest.
Jima