Package: wdiff Version: 0.5-14 Severity: normal
When giving a file device on the command-line for wdiff results in missing data in the output. This can be avoided by saving the file to a regular file and providing the file to wdiff rather than a device. Perhaps wdiff is reading the file twice? I ran into this problem piping files out of version control and comparing them with the working version of the file with wdiff. wdiff doesn't take a '-' option for reading from standard input, so I used /dev/stdin device file. Here's a transcript that shows what happens. $ cat testfile I'm only going to changed one word. $ cat testfile~ I'm only going to change one word. $ cat testfile | wdiff /dev/stdin testfile~ I'm only going to[--] {+change+} one word. $ cat testfile~ | wdiff testfile /dev/stdin [-changed-]{++}$ clear # \Endline missing from output $ wdiff testfile testfile~ I'm only going to [-changed-] {+change+} one word. $ wdiff --version GNU wdiff 0.5 Copyright (C) 1992 Free Software Foundation, Inc. $ Script done on Fri Apr 22 15:00:21 2005 -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.2.20 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages wdiff depends on: ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii libncurses5 5.4-4 Shared libraries for terminal hand -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]