Bug 134139

Summary: tail -(n any number) --quiet *.txt displays the file names
Product: [Fedora] Fedora Reporter: Ron Rotach <ronrotach>
Component: coreutilsAssignee: Tim Waugh <twaugh>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 14:06:02 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Ron Rotach 2004-09-29 15:34:51 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; 
SV1; .NET CLR 1.1.4322)

Description of problem:
When I use the tail command with a combination of number of lines and 
the quiet option the file names are displayed.

quiet does work with no -n option

head seems to work correctly.

example:

tail -1 --quiet *.txt


Version-Release number of selected component (if applicable):
coreutils-5.2.1-17

How reproducible:
Always

Steps to Reproduce:
1.tail -1 --quiet *.txt
2.
3.
    

Actual Results:  [ron@PCIFedora3 test tail]$ tail -1 *.txt
==> test1.txt <==
This is test1 line 4 and last line.
 
==> test2.txt <==
This is test2 line 5 and last line.
[ron@PCIFedora3 test tail]$



Expected Results:  [ron@PCIFedora3 test tail]$ tail -1 *.txt
This is test1 line 4 and last line.
This is test2 line 5 and last line.
[ron@PCIFedora3 test tail]$



Additional info:
Comment 1 Tim Waugh 2004-09-30 04:33:50 EDT
Only minimal backwards compatibility support for non-POSIX options is
provided.

*** This bug has been marked as a duplicate of 129388 ***
Comment 2 Red Hat Bugzilla 2006-02-21 14:06:02 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.