Converting End of Line markers

Francois, Jean (J.L.) plug-discuss@lists.plug.phoenix.az.us
Wed, 5 Mar 2003 13:25:21 -0500


If you are really lazy, like me :), you can run them thru zip on the Linux side:

zip 1.zip <filenames or * for glob>

then in a new area you can:

unzip -a 1.zip

see "man unzip" for conversion options.

YMMV.

--
JLF Sends...
Jean L. Francois - Linux Architect
http://unixserver.fsic.ford.com/~jfranc46/
Ciber, Inc.
FSIC - Ford Systems Integration Center
Office - 313-317-4378 ( Temporary )
Home   - 586-293-9081 ( Until April )
Cell   - 602-770-5531


-----Original Message-----
From: daz@undertaker.homeip.net [mailto:daz@undertaker.homeip.net]
Sent: Wednesday, March 05, 2003 11:23 AM
To: plug-discuss@lists.plug.phoenix.az.us
Subject: Re: Converting End of Line markers


On Wed, 5 Mar 2003, Simper, Brian D wrote:

> 
> A co-worker sent a set of development files to me containing source code 
> and scripts.  Unfortunately, he routed it through his Windows desktop and 
> all of the text files have  the standard Dos end-of-line markers.  Bash 
> won't interpret them correctly.  Is there a simple way to convert between 
> Dos EOL and UNIX/Linux EOL?
> 
> Thanks,
> 
> Brian

dos2unix is the tool I use.

David

-- 
"I find your lack of faith disturbing."
--Darth Vader
---
 10:20am  up 3 days, 19:06,  2 users,  load average: 0.00, 0.00, 0.00

---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change  you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss