GNU bug report logs - #30504
bug tail -2 FILE1 FILE1 - tail: option used in invalid context -- 2

Previous Next

Package: coreutils;

Reported by: Mike Brescia <mike142wood <at> verizon.net>

Date: Sat, 17 Feb 2018 22:20:02 UTC

Severity: normal

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Assaf Gordon <assafgordon <at> gmail.com>
To: 30504 <at> debbugs.gnu.org
Subject: bug#30504: bug tail -2 FILE1 FILE1 - tail: option used in invalid context -- 2
Date: Mon, 29 Oct 2018 20:48:06 -0600
close 30504
stop

(triaging old bugs)

On 2018-02-17 3:37 p.m., Paul Eggert wrote:
> There is a backward-compatibility problem with supporting "tail -2" with 
> any number of extra arguments, since (for example) "tail -2c 20" has a 
> different meaning in traditional "tail" than you might think. To avoid 
> confusion, "tail -2" is not encouraged when using non-traditional 
> features (in your case, two or more FILE arguments). Since "tail -n2 
> FILE1 FILE2 ..." suffices, it's not clear that it'd be worth the 
> aggravation to rethink this.
> 

Given the above, and no further comments,
I'm closing this bug.

-assaf





This bug report was last modified 6 years and 205 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.