Examples provided in man page don't work

Bug #94607 reported by Antoine Latter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
time (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: time

Example:

$ cd / && time -f "%E real,%U user,%S sys" ls -Fs
bash: -f: command not found

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

Revision history for this message
William Grant (wgrant) wrote :

That's because time is a reserved word in bash (and probably other shells); it has its own implementation. Sticking /usr/bin/ in front of time should do the trick.

Changed in time:
status: Unconfirmed → Rejected
Revision history for this message
Antoine Latter (aslatter) wrote :

Sorry for not being clear - I figured out how to do what I want. That doesn't fix the man page, though.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.