tag 11990 + notabug
close 11990
thanks

On 07/19/2012 04:25 PM, Rodolfo Aramayo wrote:
> Version:tail (GNU coreutils) 8.17
> 
> Please take a look at this output:
> 
> 259$ tail supercont10r12_01_wt_-fasta.gff3
> Supercontig_10.1 protein2genome:Proteins_wt protein_match 9766147
> 
> 260$ tail supercont10r12_0{1..2}_wt_-fasta.gff3
> ==> supercont10r12_01_wt_-fasta.gff3 <==
> Supercontig_10.1 protein2genome:Proteins_wt protein_match 9766147
> ==> supercont10r12_02_wt_-fasta.gff3 <==
> Supercontig_10.2 protein2genome:Proteins_wt match_part 4451411 4452067
> 
> 261$ tail -1 supercont10r12_01_wt_-fasta.gff3
> Supercontig_10.1 protein2genome:Proteins_wt match_part 9771037 9771263
> 
> 262$ tail -1 supercont10r12_0{1..2}_wt_-fasta.gff3
> tail: option used in invalid context -- 1
> 
> 
> This is not what I expected

Yes you need to use `tail -n1 ...` to get consistent results.
http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Old-tail-plus-N-syntax-now-fails

cheers,
Pádraig.



Reply via email to