Re: io:lines() and 0円
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: io:lines() and 0円
- From: Javier Guerra Giraldez <javier@...>
- Date: 2014年2月20日 20:53:24 -0500
On Thu, Feb 20, 2014 at 8:09 PM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> could you tell me what tool created a text file with embedded NULs in it?
>
> find -print0 , which is supported by xargs -0.
I wouldn't call that a text file. it's a sequence of null-terminated
strings. several utilities have the option to write in that format
_instead_ of a line-oriented stream. precisely because line breaks
are such a lousy delimiter for arbitrary strings.
--
Javier
- References:
- Re: io:lines() and 0円, steve donovan
- Re: io:lines() and 0円, René Rebe
- Re: io:lines() and 0円, Sean Conner
- Re: io:lines() and 0円, Roberto Ierusalimschy
- Re: io:lines() and 0円, René Rebe
- Re: io:lines() and 0円, Cezary H. Noweta
- Re: io:lines() and 0円, René Rebe
- Re: io:lines() and 0円, Dirk Laurie
- Re: io:lines() and 0円, René Rebe
- Re: io:lines() and 0円, Sean Conner
- Re: io:lines() and 0円, Luiz Henrique de Figueiredo