bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] [GNU tar 1.26] testsuite: 6 failed


From: Joerg Schilling
Subject: Re: [Bug-tar] [GNU tar 1.26] testsuite: 6 failed
Date: Sun, 30 Jun 2013 13:15:35 +0200
User-agent: nail 11.22 3/20/05

Ray Lauff <address@hidden> wrote:

> No, it doesn't look like it works correctly with newlines:
>
> sun%>   od -c nums.txt                                        # basic 
> datafile 
> 0000000   1  \n   2  \n   3  \n   4  \n
> 0000010
> sun%>   tr '\n' '\0' < nums.txt | od -c -             # fails
> 0000000   1  \n   2  \n   3  \n   4  \n
> 0000010
> sun%>   tr '\n' '5' < nums.txt | od -c -              # fails
> 0000000   1  \n   2  \n   3  \n   4  \n
> 0000010
> sun%>   tr '1' '5' < nums.txt | od -c -                       # works
> 0000000   5  \n   2  \n   3  \n   4  \n
> 0000010
> sun%>  

It works correctly with new lines but it behaves as you requested:

you requested behavior from the early 1980s by putting /usr/ucb/ early in you 
PATH. Simular things would happen with ACLs if you did put //usr/gnu/bin early 
in your PATH. If you select a specific behavior, you get what you requested.

tr did not handle 0 bytes in the 1980s....

gnu tools do not handle ACLs 

Jörg

-- 
 EMail:address@hidden (home) Jörg Schilling D-13353 Berlin
       address@hidden                (uni)  
       address@hidden (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



reply via email to

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