bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tail -v +1 file, bug?


From: j j
Subject: tail -v +1 file, bug?
Date: Thu, 16 Nov 2006 15:56:29 +0100

Sometime ago I reportered sth similar with -,
this was an obsolete option and n should specify
the number of lines. This worked out.
I´m trying with + to read the whole file,
and after print the header derived from -v,
and the last lines (by pipening to sed not used here).
Intead tail prints leading 10 lines and after screams.
Is this a bug?

181# tail -v +1 distances_Ref1_A62_G17_C22 ; tail -v +n1
distances_Ref1_A62_G17_C22 ; tail +n1 -v distances_Ref1_A62_G17_C22 ; wc
distances_Ref1_A62_G17_C22 ; uname -srvmpio ; tail --version
tail: no se puede abrir «+1» para lectura: No existe el fichero o el
directorio
==> distances_Ref1_A62_G17_C22 <==
You clicked /Ref1_A62_G17_C22//A/C`15/C4
You clicked /Ref1_A62_G17_C22//A/A`23/C5
Selector: selection "sele" defined with 1 atoms.
You clicked /Ref1_A62_G17_C22//A/G`6/C5
You clicked /Ref1_A62_G17_C22//A/A`23/N3
Selector: selection "sele" defined with 1 atoms.
You clicked /Ref1_A62_G17_C22//A/C`15/N3
You clicked /Ref1_A62_G17_C22//A/A`23/N3
Selector: selection "sele" defined with 1 atoms.
You clicked /Ref1_A62_G17_C22//A/G`6/N3
tail: no se puede abrir «+n1» para lectura: No existe el fichero o el
directorio
==> distances_Ref1_A62_G17_C22 <==
You clicked /Ref1_A62_G17_C22//A/C`15/C4
You clicked /Ref1_A62_G17_C22//A/A`23/C5
Selector: selection "sele" defined with 1 atoms.
You clicked /Ref1_A62_G17_C22//A/G`6/C5
You clicked /Ref1_A62_G17_C22//A/A`23/N3
Selector: selection "sele" defined with 1 atoms.
You clicked /Ref1_A62_G17_C22//A/C`15/N3
You clicked /Ref1_A62_G17_C22//A/A`23/N3
Selector: selection "sele" defined with 1 atoms.
You clicked /Ref1_A62_G17_C22//A/G`6/N3
tail: n: el sufijo es inválido en una opción obsoleta
 60  260 2664 distances_Ref1_A62_G17_C22
Linux 2.6.11-1.27_FC3smp #1 SMP Tue May 17 20:43:11 EDT 2005 i686 i686 i386
GNU/Linux
tail (coreutils) 5.2.1
Escrito por Paul Rubin, David MacKenzie, Ian Lance Taylor, y Jim Meyering.

Copyright (C) 2004 Free Software Foundation, Inc.
Esto es software libre; vea el código fuente para las condiciones de copia.
No hay NINGUNA garantía; ni siquiera de COMERCIABILIDAD o IDONEIDAD PARA UN
FIN DETERMINADO.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]