delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/30/11:46:05

Date: Fri, 30 Jul 1999 09:22:19 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Jeff Williams <jeffw AT darwin DOT sfbr DOT org>
cc: djgpp AT delorie DOT com
Subject: Re: about dtou and utod
In-Reply-To: <199907291640.LAA07707@darwin.sfbr.org>
Message-ID: <Pine.SUN.3.91.990730091622.25172I-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 29 Jul 1999, Jeff Williams wrote:

> [4] The main reason any of this matters to me is because I move lots of
> files back and forth from work (Solaris 2.7) to home (djgpp).

A piece of information (which may or may not be taken as a plug):  as of
versions 20.x, Emacs, both on DOS/Windows and on Unix, detects the
end-of-line (EOL) format of an existing file and preserves the EOL format
when you save the file.  When Emacs creates a new file, it uses the native
EOL format (CRFL, if you do that on DOS), but you can force Emacs to use
Unix-style EOL on DOSish systems, if you want to get rid of the
conversions on the Unix side. 

> I was
> working on the idea of hacking the source for `dtou' to use as a filter
> with the `--use-compress-program=PROG' option of GNU tar.  Then I could
> make a tarball using djgpp that would untar on my Solaris box without
> having then to apply `dos2unix' to the unpack files.

Doesn't zip/unzip and djtar already have this option?

Anyway, if you are thinking about Tar, I think it would be easier to add 
an option to Tar than to use filters.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019