Package: digitemp Version: 3.3.2-2 Severity: normal When running digitemp_DS9097U with the commandline option to specify the output format, digitemp outputs the default format instead.
$ sudo -u digitemp digitemp_DS9097U -a -o 'Sensor %s %.2F' DigiTemp v3.3.2 Copyright 1996-2004 by Brian C. Lane GNU Public License v2.0 - http://www.brianlane.com Jun 23 15:22:30 Sensor 0 C: 15.34 F: 59.62 H: 0% Jun 23 15:22:31 Sensor 1 C: 25.88 F: 78.58 H: 0% When selecting one of the numeric options for '-o', the number 0 is printed, and then the default format is once again used. $ sudo -u digitemp digitemp_DS9097U -a -o 2 DigiTemp v3.3.2 Copyright 1996-2004 by Brian C. Lane GNU Public License v2.0 - http://www.brianlane.com 0Jun 23 15:25:31 Sensor 0 C: 15.38 F: 59.67 H: 0% Jun 23 15:25:32 Sensor 1 C: 25.78 F: 78.41 H: 0% This could use some cleanup. The default format is certainly parseable, but it would be far easier to specify a format when using digitemp in scripts. -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.6.8-2-k7-smp Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) Versions of packages digitemp depends on: ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii liblockdev1 1.0.1-6 Run-time shared library for lockin ii libusb-0.1-4 2:0.1.10a-9.sarge.1 userspace USB programming library -- no debconf information -- Chad C. Walstrom <[EMAIL PROTECTED]> 247 Gortner Hall Asst. Coordinator of IT Help: 612-625-9284 CBS Computing Services, UMN Phone: 612-624-2918 -- Chad C. Walstrom <[EMAIL PROTECTED]> 247 Gortner Hall Asst. Coordinator of IT Help: 612-625-9284 CBS Computing Services, UMN Phone: 612-624-2918 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]