bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ascii files ^M


From: Eli Zaretskii
Subject: Re: ascii files ^M
Date: Sun, 1 Jul 2001 11:14:08 +0300 (IDT)

On Thu, 28 Jun 2001 address@hidden wrote:

> Z:\>tar --version
> tar (GNU tar) 1.12
> 
> Copyright (C) 1988, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> Written by John Gilmore and Jay Fenlason.
> 
> -------------------
> 
> Does a later version of GNU tar handle the problem of ^M characters
> being appended onto ascii file records?

Tar doesn't change the files' line-ending format in any way, it
extracts the file in the same form as they were on the source
platform.  So any ^M characters present in the original files will be
present on the target platform.

If you want to remove the ^M characters, you can use one of the
available dos2unix programs (should be already present on the Unix
box).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]