Bug 679831
Summary: | --lines does not work: tailf: invalid option | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Michal Nowak <mnowak> |
Component: | util-linux-ng | Assignee: | Karel Zak <kzak> |
Status: | CLOSED ERRATA | QA Contact: | qe-baseos-daemons |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 6.1 | CC: | azelinka, jmarko, ohudlick, rvokal |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-12-06 17:10:42 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Michal Nowak
2011-02-23 16:13:00 UTC
(In reply to comment #0) > -n, --lines=N, -N > output the last N lines, instead of the last 10. The tailf(1) command supports --lines command line option, but without '=', for example: tailf --lines 1 file It's bug in the man page. Ideal solution is to update the code and use the standard getopt() there. The upstream commit dc181a2115e71ac9d8ff07375330c3652288f348 fixes this problem, unfortunately it's too invasive for RHEL. For RHEL will be better to fix the tailf(1) man page. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2011-1691.html |