Public bug reported:

Binary package hint: time

This is a cut and paste from a bug reported on the debian bug tracking
system. since this bug hasn't been fixed in about one year and is also
present in ubuntu, I am reporting it here. Maybe someone here will know
how to fix it.

From: Martin Jambor <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: time: Time does not parse its parameters
Date: Wed, 20 Sep 2006 16:21:02 +0200

Package: time
Version: 1.7-21
Severity: important


Time does  not parse its own  parameters and treats  everything on the
command line like the program it should run and its parameters.

For example the following works:

[EMAIL PROTECTED]:~/tmp/randwrite$ time bash < /dev/null

real    0m0.005s
user    0m0.000s
sys     0m0.004s

But this does not:

[EMAIL PROTECTED]:~/tmp time -f "%e" bash < /dev/null
bash: -f: command not found

real    0m0.002s
user    0m0.000s
sys     0m0.000s

OTOH, I suspect  this might be a bash issue because  I have just found
out that /usr/bin/time works as expected.

TIA

Martin

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.14mj01
Locale: LANG=C, LC_CTYPE=cs_CZ (charmap=UTF-8) (ignored: LC_ALL set to 
en_US.UTF-8)

Versions of packages time depends on:
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries

time recommends no packages.

-- no debconf information

** Affects: gnubash
     Importance: Unknown
         Status: New

** Affects: bash (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: time (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: bash (Ubuntu)
   Importance: Undecided
       Status: New

** Bug watch added: Debian Bug tracker #388458
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=388458

** Also affects: gnubash via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=388458
   Importance: Unknown
       Status: Unknown

-- 
time: Time does not parse its parameters
https://bugs.launchpad.net/bugs/238061
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to