Re: null byte list= terminator patch

Björn JACKE <[email protected]>
Newsgroups gmane.comp.archivers.star.user
Organization Service Network GmbH, Goettingen, Germany
Message-ID <[email protected]>
On 2005-06-24 at 14:49 +0200 Joerg Schilling sent off:
> 
> I am not sure if this is the right way to go.
> 
> The nonstandard -print0 option from GNU tar has been discussed a while ago
> on the POSIX mailing list and it was rejected because it would cause a need
> for modifying a unknown number of "other" programs too. As a result, POSIX
> did agree on using the way that has been used by SVr4 since 1990 
> find . -exec cmd {} +
> 
> Your request looks like exacly a request that POSIX did like to avoid.
> 
> Please note that star-1.6 will include libfind and you then will no longer
> need find at all (at least in conjunction with tar).
> 
> Do you have any real world demand where you cannot use star as it is?
> Jörg

yes, on Samba Servers for example filenames are often encoded in 
cp850 (which contains \n and other nasty characters) and using GNU 
find with print0 is a really easy and save way to collect files 
without getting into trouble with quoting. Other files might 
containing ' or ", which is a nightmare, which could be solved with 
such a feature.
On the other hand I don't really understand, why you don't want to add 
this feature to star, star has other features which are not demanded 
by POSIX standards. Adding (useful) optional features doesn't really 
hurt, does it?

Bjoern
-- 
Björn Jacke,  SerNet Service Network GmbH
Phone: +49-(0)551-370000-0,  Fax: +49-(0)551-370000-9
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.