Thanks for your bugreport.
The problem is that time is a bash buildin. You probably want:
/usr/bin/time -f "%R" ls -a
The same error appears with and without command-not-found activated for
me.
Cheers,
Michael
** Changed in: command-not-found (Ubuntu)
Status: Confirmed => Invalid
--
** Changed in: command-not-found (Ubuntu)
Sourcepackagename: bash => command-not-found
--
command-not-found interfering with some commands
https://bugs.launchpad.net/bugs/137930
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
u
Changed status to confirmed.
** Changed in: bash (Ubuntu)
Status: Invalid => Confirmed
--
command-not-found interfering with some commands
https://bugs.launchpad.net/bugs/137930
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu
This bug is present in the bash package.
** Changed in: bash (Ubuntu)
Sourcepackagename: command-not-found => bash
Status: New => Invalid
--
command-not-found interfering with some commands
https://bugs.launchpad.net/bugs/137930
You received this bug notification because you are a member
After effecting the changes requested in /etc/bash.bashrc, I think
command-not-found has been disabled, but I cannot think of a way to
verify this. Now the error messages looks like this (even if you
completely comment it out):
$ time -f "%E" ls -a
bash: -f: command not found
real0m0.001s
use
This bug is not in command-not-found package but in bash package.
Reporter, could you please change /etc/bash.bashrc and add '--' after
invocation of command-not-found and before the argument? If that fixes
your problem then please report a bug in bash.
The correct code should be (the path may b