Package: rs
Version: 20120414-1
Severity: normal
Dear Maintainer,
When feeding some table data to rs with an empty cell in the table, rs behaves
randomly.
For instance, with the following two-lines tabular-separated input (see file
attached)
0 0
0
rs -c 0 2 produces non-deterministic outputs instead of simply outputting
something looking quite like the input.
I ran it 100 times, obtaining this kind of results:
$ for i in `seq 100`; do rs -c 0 2 < rsbug | wc; done | sort | uniq -c
52 2 2 5
12 2 3 13632
9 2 3 21824
4 2 3 30016
5 2 3 38208
1 2 3 46400
7 2 3 5440
7 2 3 54592
3 2 3 62784
The case with only 2 words in the output must be
00
0
where the initial tabulation was gobbled. In the other cases, the number of
spaces produced seems completely random.
Best regards,
Samuel
-- System Information:
Debian Release: 7.0
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_AR.utf8, LC_CTYPE=es_AR.utf8 (charmap=UTF-8) (ignored: LC_ALL
set to es_AR.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages rs depends on:
ii libbsd0 0.4.2-1
ii libc6 2.13-38
ii libgcc1 1:4.7.2-5
rs recommends no packages.
rs suggests no packages.
0 0
0