bug-coreutils
[Top][All Lists]
Advanced

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

Bug#185365: coreutils: seq format of %f doesn't allow "" or 0


From: Dan Jacobson
Subject: Bug#185365: coreutils: seq format of %f doesn't allow "" or 0
Date: Wed, 19 Mar 2003 07:11:16 +0800

Package: coreutils
Version: 4.5.4-1
Severity: minor
File: /usr/bin/seq
Tags: upstream

seq says it uses printf style strings.

$ man 3 printf
       To print pi to five decimal places:
              fprintf(stdout, "pi = %.5f\n", 4 * atan(1.0));

$ seq -f "%.5f" 0 .005 .09999
seq: invalid format string: `%.5f'
$ seq -f "%0.5f" 0 .005 .09999
seq: invalid format string: `%0.5f'
$ seq -f "%1.5f" 0 .005 .09999
0.00000
0.00500...
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux debian 2.4.20-k7 #1 Tue Jan 14 00:29:06 EST 2003 i686
Locale: LANG=zh_TW.Big5, LC_CTYPE=zh_TW.Big5

Versions of packages coreutils depends on:
ii  libc6                         2.3.1-10   GNU C Library: Shared libraries an

-- no debconf information






reply via email to

[Prev in Thread] Current Thread [Next in Thread]