bug-parallel
[Top][All Lists]
Advanced

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

Re: GNU Parallel Bug Reports --recend='\0' isn't interpreted as NULL cha


From: Ole Tange
Subject: Re: GNU Parallel Bug Reports --recend='\0' isn't interpreted as NULL character.
Date: Sun, 4 May 2014 00:46:44 +0200

Thanks for the bugreport.

Fixed in next release.

/Ole

On Wed, Apr 30, 2014 at 4:43 PM, Andreas Bernauer
<address@hidden> wrote:
> --regexp helps a bit, but makes things slower
>
> echo -ne "x\0y" | parallel --regexp --recstart '' --recend '\0' -k -N1
> --pipe  cat -v \; echo
> x^@
> y
>
> I'm not sure if this is what you intended, though.
>
> -Andreas
>
> On 4/30/14 11:06, Alexey Karakulov wrote:
>> Hi, I can't find a way to use NULL character as record separator with
>> --pipe. For --recend (and probably --recstart too) '\0' argument is read
>> literally as backslash-zero.
>>
>> $ echo -ne "x\0y" | ./bin/parallel --recstart '' --recend '\0' -k -N1
>> --pipe  cat -v \; echo
>> address@hidden
>>
>> $ echo -n "x\0y" | ./bin/parallel --recstart '' --recend '\0' -k -N1
>> --pipe  cat -v \; echo
>> x\0
>> y
>>
>>
>> $ ./bin/parallel --version
>> GNU parallel 20140422
>> Copyright (C) 2007,2008,2009,2010,2011,2012,2013,2014 Ole Tange and Free
>> Software Foundation, Inc.
>> License GPLv3+: GNU GPL version 3 or later
>> <http://gnu.org/licenses/gpl.html>
>> This is free software: you are free to change and redistribute it.
>> GNU parallel comes with no warranty.
>>
>> Web site: http://www.gnu.org/software/parallel
>>
>> When using programs that use GNU Parallel to process data for
>> publication please cite:
>>
>> O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
>> ;login: The USENIX Magazine, February 2011:42-47.
>>
>
>



reply via email to

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