bug-parallel
[Top][All Lists]
Advanced

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

GNU Parallel Bug Reports --recend='\0' isn't interpreted as NULL charact


From: Alexey Karakulov
Subject: GNU Parallel Bug Reports --recend='\0' isn't interpreted as NULL character.
Date: Wed, 30 Apr 2014 12:06:56 +0300

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]