Package: parallel
Version: 20120422-1
Severity: normal
After a rather thorough RTFM session, I tried:
[1+0]~$ mkdir test-parallel
[2+0]~$ cat > foobarbaz
foo
bar
baz
[3+0]~$ cat foobarbaz | parallel --gnu --pipe dd of=test-parallel/out'{}' :::
1 2 3
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.00162787 s, 0.0 kB/s
0+1 records in
0+1 records out
6 bytes (6 B) copied, 0.00293682 s, 2.0 kB/s
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.000407992 s, 0.0 kB/s
0+0 records in
0+0 records out
0 bytes (0 B) copied, 7.072e-06 s, 0.0 kB/s
[4+0]~$ ls -l test-parallel/
total 0
-rw-r--r-- 1 itz itz 0 Sep 9 20:57 out
[5+0]~$ cat test-parallel/out
[6+0}~$
I expected rather something along the lines of:
[4+0]~$ ls -l test-parallel/
total 0
-rw-r--r-- 1 itz itz 4 Sep 9 20:57 out1
-rw-r--r-- 1 itz itz 4 Sep 9 20:57 out2
-rw-r--r-- 1 itz itz 4 Sep 9 20:57 out3
[5+0]~$ cat test-parallel/out1
foo
[6+0]~$ cat test-parallel/out2
bar
[7+0]~$ cat test-parallel/out3
baz
I am beginning to share Joey's feelings wrt this version of parallel ...
-- System Information:
Debian Release: 7.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.10.10.2 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages parallel depends on:
ii perl 5.14.2-21
ii perl-modules 5.14.2-21
parallel recommends no packages.
parallel suggests no packages.
-- Configuration Files:
/etc/parallel/config changed:
--gnu
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]