Bug 1411711
Summary: | Localized tool 'time' doesn't support options what described in manual | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alexandr Kondratev <theg4sh> |
Component: | time | Assignee: | Petr Pisar <ppisar> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 25 | CC: | amajer, ppisar, theg4sh |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-01-10 14:52:07 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Alexandr Kondratev
2017-01-10 11:14:43 UTC
What shell do you execute the time command from? I suspect that you invoke a shell built-in command, not /usr/bin/time from time package. In case of bash: $ type -a time time is a shell keyword $ help time time: time [-p] pipeline Report time consumed by pipeline's execution. Hence tries to execute "-a -o /tmp/test.res -- ./stack_test" command. $ LANG=en_US type -a time time is a shell keyword time is /usr/bin/time If I understood correctly, variables in prefix run command in */bin/ instead of built-in, right? BTW, thanks a lot. So, this issue not a bug and could be closed. Regards, Alexandr. Yes, if you specify the command with a path, e.g. /usr/bin/time, then the shell will execute a program from that file. If you specify the command without a path, e.g. time, your shell will use its internal implementation that does not support the "-a" option. |