[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: io:lines() and \0
- From: Javier Guerra Giraldez <javier@...>
- Date: Thu, 20 Feb 2014 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