From unknown Sat Jun 21 03:24:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11990: Tail does not behave as expected Resent-From: Rodolfo Aramayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Thu, 19 Jul 2012 16:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11990 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 11990@debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.134271454331771 (code B ref -1); Thu, 19 Jul 2012 16:16:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Jul 2012 16:15:43 +0000 Received: from localhost ([127.0.0.1]:50908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SrtOA-0008GJ-4H for submit@debbugs.gnu.org; Thu, 19 Jul 2012 12:15:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37455) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SrsiE-0007IU-UB for submit@debbugs.gnu.org; Thu, 19 Jul 2012 11:32:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Srsc9-0007Gu-Dt for submit@debbugs.gnu.org; Thu, 19 Jul 2012 11:26:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:41089) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Srsc9-0007Gq-9z for submit@debbugs.gnu.org; Thu, 19 Jul 2012 11:26:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33688) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Srsc4-0008Cs-5o for bug-coreutils@gnu.org; Thu, 19 Jul 2012 11:26:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Srsbt-0007As-Bc for bug-coreutils@gnu.org; Thu, 19 Jul 2012 11:26:00 -0400 Received: from mail-qc0-f169.google.com ([209.85.216.169]:59765) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Srsbt-00079t-4n for bug-coreutils@gnu.org; Thu, 19 Jul 2012 11:25:49 -0400 Received: by qcsd16 with SMTP id d16so1954421qcs.0 for ; Thu, 19 Jul 2012 08:25:48 -0700 (PDT) Received: by 10.224.189.12 with SMTP id dc12mr4477188qab.19.1342711548145; Thu, 19 Jul 2012 08:25:48 -0700 (PDT) Received: from mail-qc0-f169.google.com (mail-qc0-f169.google.com [209.85.216.169]) by mx.google.com with ESMTPS id bh13sm3253536qab.21.2012.07.19.08.25.46 (version=SSLv3 cipher=OTHER); Thu, 19 Jul 2012 08:25:47 -0700 (PDT) Received: by qcsd16 with SMTP id d16so1954370qcs.0 for ; Thu, 19 Jul 2012 08:25:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=XfpFNtSogHP14DdSjAM1WWElISb8vXpQyfI/OHHVhb0=; b=h4yMVchA1hT7+NKb+t6YVeB2QGqodBBbWepahfgMtQ9XIKy9tL68MqlBUsh4zZ6g7b /w0x53NV/Tfy2uu3FFFWiBfEPcCoKJklpLl5H3zBzTnZgNCTjBazfUny4lCoAPs2M+du 2qS4oL6hhplSTNKTllWyMUVtTeX+kNhh+H3NKKmo7zwnWL9LcY3X5ryVW8zTxKZRQ99G lVGFBsKDEChEvMKD2yJusRllUxx0Q3+H/xgz5NMjieR6eOGir2xPj5us6E+Nxgbc9qEh 9x2Xb8jzQmDFdYbEXCCWT3swbOLC+Zc7QhyR3YevPW+vhhkmeGsn86mgAujNNT887kS9 Gk+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type :x-gm-message-state; bh=XfpFNtSogHP14DdSjAM1WWElISb8vXpQyfI/OHHVhb0=; b=fWnxZJcGWnQphJPVXLtf+tu7NxMxt8dHA2twg7nXXo9K2kw67HzaAdQY6pQqp8RKEc /b4VQDaSOaqBVClvAKjdqRNw0CLXPu5u+kRYwAf/R5vuguNcnYmh/f+vz7bsfDb3vtBM tXrDRJT8GFhyjjwdQ8h7lSdlgpbNoMrOpfTFNHBTDppByaJZsLyQH7VM+ASZoOJv2UKj K8CumsHuCRbT1Wpz2b0fpDYIdfYcY6wQdwCvo3EVNVU4TFMqU95brh/HAnWWtXrqlOD6 0vYIUNZ6+Sipp+6UlQxd1yx/KCPmdDL4Mk65LyS97+B5605Acm4Q/29QkVx0D9s9Fmpf SFAA== Received: by 10.229.135.208 with SMTP id o16mr1051201qct.143.1342711545439; Thu, 19 Jul 2012 08:25:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.171.146 with HTTP; Thu, 19 Jul 2012 08:25:05 -0700 (PDT) From: Rodolfo Aramayo Date: Thu, 19 Jul 2012 10:25:05 -0500 Message-ID: Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQmwCKYxgqZgSS7aW+kY2nh6txI7EWtDFynvHfELu4AoDN9oalWWl/1+BsMLl43/VECYoj1r X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Mailman-Approved-At: Thu, 19 Jul 2012 12:15:39 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) 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 9766861 1081 - . ID=Supercontig_10.1:hit:143093:96_0;Name=NCU10029T0 Supercontig_10.1 protein2genome:Proteins_wt match_part 9766600 9766861 1081 - . ID=Supercontig_10.1:hsp:281558:96_0;Parent=Supercontig_10.1:hit:143093:96_0;Target=NCU10029T0 1 87;Gap=F1 M87 Supercontig_10.1 protein2genome:Proteins_wt match_part 9766147 9766493 1081 - . ID=Supercontig_10.1:hsp:281559:96_0;Parent=Supercontig_10.1:hit:143093:96_0;Target=NCU10029T0 88 203;Gap=M116 R1 Supercontig_10.1 protein2genome:Proteins_wt protein_match 9768324 9770867 4208 + . ID=Supercontig_10.1:hit:143094:96_0;Name=NCU10030T0 Supercontig_10.1 protein2genome:Proteins_wt match_part 9768324 9768629 4208 + . ID=Supercontig_10.1:hsp:281560:96_0;Parent=Supercontig_10.1:hit:143094:96_0;Target=NCU10030T0 1 102;Gap=M102 Supercontig_10.1 protein2genome:Proteins_wt match_part 9768708 9770867 4208 + . ID=Supercontig_10.1:hsp:281561:96_0;Parent=Supercontig_10.1:hit:143094:96_0;Target=NCU10030T0 103 822;Gap=M720 Supercontig_10.1 protein2genome:Proteins_wt protein_match 9771037 9772118 1679 - . ID=Supercontig_10.1:hit:143095:96_0;Name=NCU10031T0 Supercontig_10.1 protein2genome:Proteins_wt match_part 9771878 9772118 1679 - . ID=Supercontig_10.1:hsp:281562:96_0;Parent=Supercontig_10.1:hit:143095:96_0;Target=NCU10031T0 1 80;Gap=F1 M80 Supercontig_10.1 protein2genome:Proteins_wt match_part 9771339 9771812 1679 - . ID=Supercontig_10.1:hsp:281563:96_0;Parent=Supercontig_10.1:hit:143095:96_0;Target=NCU10031T0 81 238;Gap=F1 M158 R1 Supercontig_10.1 protein2genome:Proteins_wt match_part 9771037 9771263 1679 - . ID=Supercontig_10.1:hsp:281564:96_0;Parent=Supercontig_10.1:hit:143095:96_0;Target=NCU10031T0 239 314;Gap=M76 R1 [10:20:07][raramayo][/Volumes/g0006/00scontig101200_wt_maker/zmakerresults02] 260$ tail supercont10r12_0{1..7}_wt_-fasta.gff3 ==> supercont10r12_01_wt_-fasta.gff3 <== Supercontig_10.1 protein2genome:Proteins_wt protein_match 9766147 9766861 1081 - . ID=Supercontig_10.1:hit:143093:96_0;Name=NCU10029T0 Supercontig_10.1 protein2genome:Proteins_wt match_part 9766600 9766861 1081 - . ID=Supercontig_10.1:hsp:281558:96_0;Parent=Supercontig_10.1:hit:143093:96_0;Target=NCU10029T0 1 87;Gap=F1 M87 Supercontig_10.1 protein2genome:Proteins_wt match_part 9766147 9766493 1081 - . ID=Supercontig_10.1:hsp:281559:96_0;Parent=Supercontig_10.1:hit:143093:96_0;Target=NCU10029T0 88 203;Gap=M116 R1 Supercontig_10.1 protein2genome:Proteins_wt protein_match 9768324 9770867 4208 + . ID=Supercontig_10.1:hit:143094:96_0;Name=NCU10030T0 Supercontig_10.1 protein2genome:Proteins_wt match_part 9768324 9768629 4208 + . ID=Supercontig_10.1:hsp:281560:96_0;Parent=Supercontig_10.1:hit:143094:96_0;Target=NCU10030T0 1 102;Gap=M102 Supercontig_10.1 protein2genome:Proteins_wt match_part 9768708 9770867 4208 + . ID=Supercontig_10.1:hsp:281561:96_0;Parent=Supercontig_10.1:hit:143094:96_0;Target=NCU10030T0 103 822;Gap=M720 Supercontig_10.1 protein2genome:Proteins_wt protein_match 9771037 9772118 1679 - . ID=Supercontig_10.1:hit:143095:96_0;Name=NCU10031T0 Supercontig_10.1 protein2genome:Proteins_wt match_part 9771878 9772118 1679 - . ID=Supercontig_10.1:hsp:281562:96_0;Parent=Supercontig_10.1:hit:143095:96_0;Target=NCU10031T0 1 80;Gap=F1 M80 Supercontig_10.1 protein2genome:Proteins_wt match_part 9771339 9771812 1679 - . ID=Supercontig_10.1:hsp:281563:96_0;Parent=Supercontig_10.1:hit:143095:96_0;Target=NCU10031T0 81 238;Gap=F1 M158 R1 Supercontig_10.1 protein2genome:Proteins_wt match_part 9771037 9771263 1679 - . ID=Supercontig_10.1:hsp:281564:96_0;Parent=Supercontig_10.1:hit:143095:96_0;Target=NCU10031T0 239 314;Gap=M76 R1 ==> supercont10r12_02_wt_-fasta.gff3 <== Supercontig_10.2 protein2genome:Proteins_wt match_part 4451411 4452067 476 - . ID=Supercontig_10.2:hsp:151055:43_0;Parent=Supercontig_10.2:hit:80440:43_0;Target=NCU00710T0 86 303;Gap=M38 I1 M65 I1 M17 D3 M96 Supercontig_10.2 protein2genome:Proteins_wt protein_match 4458486 4465086 11230 + . ID=Supercontig_10.2:hit:80441:43_0;Name=NCU09492T0 Supercontig_10.2 protein2genome:Proteins_wt match_part 4458486 4463973 11230 + . ID=Supercontig_10.2:hsp:151056:43_0;Parent=Supercontig_10.2:hit:80441:43_0;Target=NCU09492T0 1 1829;Gap=M1829 F1 Supercontig_10.2 protein2genome:Proteins_wt match_part 4464029 4465086 11230 + . ID=Supercontig_10.2:hsp:151057:43_0;Parent=Supercontig_10.2:hit:80441:43_0;Target=NCU09492T0 1830 2182;Gap=R1 M353 Supercontig_10.2 protein2genome:Proteins_wt protein_match 4466318 4468436 3152 + . ID=Supercontig_10.2:hit:80442:43_0;Name=NCU09494T0 Supercontig_10.2 protein2genome:Proteins_wt match_part 4466318 4467118 3152 + . ID=Supercontig_10.2:hsp:151058:43_0;Parent=Supercontig_10.2:hit:80442:43_0;Target=NCU09494T0 1 267;Gap=M267 Supercontig_10.2 protein2genome:Proteins_wt match_part 4467400 4467446 3152 + . ID=Supercontig_10.2:hsp:151059:43_0;Parent=Supercontig_10.2:hit:80442:43_0;Target=NCU09494T0 268 282;Gap=M15 F2 Supercontig_10.2 protein2genome:Proteins_wt match_part 4467506 4468436 3152 + . ID=Supercontig_10.2:hsp:151060:43_0;Parent=Supercontig_10.2:hit:80442:43_0;Target=NCU09494T0 283 593;Gap=R2 M311 Supercontig_10.2 protein2genome:Proteins_wt protein_match 4469551 4470510 1677 + . ID=Supercontig_10.2:hit:80443:43_0;Name=NCU09495T0 Supercontig_10.2 protein2genome:Proteins_wt match_part 4469551 4470510 1677 + . ID=Supercontig_10.2:hsp:151061:43_0;Parent=Supercontig_10.2:hit:80443:43_0;Target=NCU09495T0 1 320;Gap=M320 ==> supercont10r12_03_wt_-fasta.gff3 <== Supercontig_10.3 protein2genome:Proteins_wt match_part 5266707 5268294 3293 + . ID=Supercontig_10.3:hsp:116972:51_0;Parent=Supercontig_10.3:hit:62346:51_0;Target=NCU08752T0 97 626;Gap=R2 M530 Supercontig_10.3 protein2genome:Proteins_wt protein_match 5268913 5269506 862 - . ID=Supercontig_10.3:hit:62347:51_0;Name=NCU11291T0 Supercontig_10.3 protein2genome:Proteins_wt match_part 5269151 5269506 862 - . ID=Supercontig_10.3:hsp:116973:51_0;Parent=Supercontig_10.3:hit:62347:51_0;Target=NCU11291T0 1 118;Gap=F2 M118 Supercontig_10.3 protein2genome:Proteins_wt match_part 5268913 5269084 862 - . ID=Supercontig_10.3:hsp:116974:51_0;Parent=Supercontig_10.3:hit:62347:51_0;Target=NCU11291T0 119 176;Gap=M58 R2 Supercontig_10.3 protein2genome:Proteins_wt protein_match 5270069 5270577 732 - . ID=Supercontig_10.3:hit:62348:51_0;Name=NCU11292T0 Supercontig_10.3 protein2genome:Proteins_wt match_part 5270560 5270577 732 - . ID=Supercontig_10.3:hsp:116975:51_0;Parent=Supercontig_10.3:hit:62348:51_0;Target=NCU11292T0 1 6;Gap=M6 Supercontig_10.3 protein2genome:Proteins_wt match_part 5270069 5270488 732 - . ID=Supercontig_10.3:hsp:116976:51_0;Parent=Supercontig_10.3:hit:62348:51_0;Target=NCU11292T0 7 146;Gap=M140 Supercontig_10.3 protein2genome:Proteins_wt protein_match 5272817 5273172 438 + . ID=Supercontig_10.3:hit:62349:51_0;Name=NCU11876T0 Supercontig_10.3 protein2genome:Proteins_wt match_part 5272817 5272984 438 + . ID=Supercontig_10.3:hsp:116977:51_0;Parent=Supercontig_10.3:hit:62349:51_0;Target=NCU11876T0 1 56;Gap=M56 Supercontig_10.3 protein2genome:Proteins_wt match_part 5273077 5273172 438 + . ID=Supercontig_10.3:hsp:116978:51_0;Parent=Supercontig_10.3:hit:62349:51_0;Target=NCU11876T0 57 88;Gap=M32 ==> supercont10r12_04_wt_-fasta.gff3 <== Supercontig_10.4 protein2genome:Proteins_wt match_part 5942518 5942543 2702 + . ID=Supercontig_10.4:hsp:203849:59_0;Parent=Supercontig_10.4:hit:107509:59_0;Target=NCU10039T0 332 339;Gap=M8 F2 Supercontig_10.4 protein2genome:Proteins_wt match_part 5942596 5942684 2702 + . ID=Supercontig_10.4:hsp:203850:59_0;Parent=Supercontig_10.4:hit:107509:59_0;Target=NCU10039T0 340 369;Gap=R2 M30 F1 Supercontig_10.4 protein2genome:Proteins_wt match_part 5942750 5943246 2702 + . ID=Supercontig_10.4:hsp:203851:59_0;Parent=Supercontig_10.4:hit:107509:59_0;Target=NCU10039T0 370 535;Gap=R1 M166 Supercontig_10.4 protein2genome:Proteins_wt protein_match 5943769 5945137 2250 + . ID=Supercontig_10.4:hit:107510:59_0;Name=NCU10038T0 Supercontig_10.4 protein2genome:Proteins_wt match_part 5943769 5944059 2250 + . ID=Supercontig_10.4:hsp:203852:59_0;Parent=Supercontig_10.4:hit:107510:59_0;Target=NCU10038T0 1 97;Gap=M97 Supercontig_10.4 protein2genome:Proteins_wt match_part 5944121 5945137 2250 + . ID=Supercontig_10.4:hsp:203853:59_0;Parent=Supercontig_10.4:hit:107510:59_0;Target=NCU10038T0 98 436;Gap=M339 Supercontig_10.4 protein2genome:Proteins_wt protein_match 5946299 5947546 2220 + . ID=Supercontig_10.4:hit:107511:59_0;Name=NCU11793T0 Supercontig_10.4 protein2genome:Proteins_wt match_part 5946299 5947546 2220 + . ID=Supercontig_10.4:hsp:203854:59_0;Parent=Supercontig_10.4:hit:107511:59_0;Target=NCU11793T0 1 416;Gap=M416 Supercontig_10.4 protein2genome:Proteins_wt protein_match 5949691 5950845 2077 + . ID=Supercontig_10.4:hit:107512:59_0;Name=NCU10037T0 Supercontig_10.4 protein2genome:Proteins_wt match_part 5949691 5950845 2077 + . ID=Supercontig_10.4:hsp:203855:59_0;Parent=Supercontig_10.4:hit:107512:59_0;Target=NCU10037T0 1 385;Gap=M385 ==> supercont10r12_05_wt_-fasta.gff3 <== Supercontig_10.5 protein2genome:Proteins_wt protein_match 6428534 6429259 691 + . ID=Supercontig_10.5:hit:171447:63_0;Name=NCU07145T0 Supercontig_10.5 protein2genome:Proteins_wt match_part 6428534 6428619 691 + . ID=Supercontig_10.5:hsp:339992:63_0;Parent=Supercontig_10.5:hit:171447:63_0;Target=NCU07145T0 6 33;Gap=M28 F2 Supercontig_10.5 protein2genome:Proteins_wt match_part 6428775 6428949 691 + . ID=Supercontig_10.5:hsp:339993:63_0;Parent=Supercontig_10.5:hit:171447:63_0;Target=NCU07145T0 34 92;Gap=R2 M59 Supercontig_10.5 protein2genome:Proteins_wt match_part 6429134 6429259 691 + . ID=Supercontig_10.5:hsp:339994:63_0;Parent=Supercontig_10.5:hit:171447:63_0;Target=NCU07145T0 93 134;Gap=M42 Supercontig_10.5 protein2genome:Proteins_wt protein_match 6431525 6433447 3303 - . ID=Supercontig_10.5:hit:171448:63_0;Name=NCU07144T0 Supercontig_10.5 protein2genome:Proteins_wt match_part 6431525 6433447 3303 - . ID=Supercontig_10.5:hsp:339995:63_0;Parent=Supercontig_10.5:hit:171448:63_0;Target=NCU07144T0 1 641;Gap=M641 Supercontig_10.5 protein2genome:Proteins_wt protein_match 6435237 6435857 1125 + . ID=Supercontig_10.5:hit:171449:63_0;Name=NCU11673T0 Supercontig_10.5 protein2genome:Proteins_wt match_part 6435237 6435857 1125 + . ID=Supercontig_10.5:hsp:339996:63_0;Parent=Supercontig_10.5:hit:171449:63_0;Target=NCU11673T0 1 207;Gap=M207 Supercontig_10.5 protein2genome:Proteins_wt protein_match 6435237 6435659 312 + . ID=Supercontig_10.5:hit:171450:63_0;Name=NCU07151T0 Supercontig_10.5 protein2genome:Proteins_wt match_part 6435237 6435659 312 + . ID=Supercontig_10.5:hsp:339997:63_0;Parent=Supercontig_10.5:hit:171450:63_0;Target=NCU07151T0 1 138;Gap=M43 D1 M67 D2 M28 ==> supercont10r12_06_wt_-fasta.gff3 <== Supercontig_10.6 protein2genome:Proteins_wt protein_match 4156628 4157326 1265 + . ID=Supercontig_10.6:hit:42845:41_0;Name=NCU12156T0 Supercontig_10.6 protein2genome:Proteins_wt match_part 4156628 4157326 1265 + . ID=Supercontig_10.6:hsp:81887:41_0;Parent=Supercontig_10.6:hit:42845:41_0;Target=NCU12156T0 1 233;Gap=M233 Supercontig_10.6 protein2genome:Proteins_wt protein_match 4158775 4159359 1022 + . ID=Supercontig_10.6:hit:42846:41_0;Name=NCU04992T0 Supercontig_10.6 protein2genome:Proteins_wt match_part 4158775 4159359 1022 + . ID=Supercontig_10.6:hsp:81888:41_0;Parent=Supercontig_10.6:hit:42846:41_0;Target=NCU04992T0 1 195;Gap=M195 Supercontig_10.6 protein2genome:Proteins_wt protein_match 4159603 4162256 4195 - . ID=Supercontig_10.6:hit:42847:41_0;Name=NCU04991T0 Supercontig_10.6 protein2genome:Proteins_wt match_part 4162112 4162256 4195 - . ID=Supercontig_10.6:hsp:81889:41_0;Parent=Supercontig_10.6:hit:42847:41_0;Target=NCU04991T0 1 48;Gap=F1 M48 Supercontig_10.6 protein2genome:Proteins_wt match_part 4160234 4162040 4195 - . ID=Supercontig_10.6:hsp:81890:41_0;Parent=Supercontig_10.6:hit:42847:41_0;Target=NCU04991T0 49 650;Gap=F2 M602 R1 Supercontig_10.6 protein2genome:Proteins_wt match_part 4160090 4160175 4195 - . ID=Supercontig_10.6:hsp:81891:41_0;Parent=Supercontig_10.6:hit:42847:41_0;Target=NCU04991T0 651 679;Gap=F1 M29 R2 Supercontig_10.6 protein2genome:Proteins_wt match_part 4159743 4160017 4195 - . ID=Supercontig_10.6:hsp:81892:41_0;Parent=Supercontig_10.6:hit:42847:41_0;Target=NCU04991T0 680 771;Gap=M92 R1 Supercontig_10.6 protein2genome:Proteins_wt match_part 4159603 4159668 4195 - . ID=Supercontig_10.6:hsp:81893:41_0;Parent=Supercontig_10.6:hit:42847:41_0;Target=NCU04991T0 772 793;Gap=M22 ==> supercont10r12_07_wt_-fasta.gff3 <== Supercontig_10.7 protein2genome:Proteins_wt protein_match 4248554 4249708 1805 + . ID=Supercontig_10.7:hit:141771:41_0;Name=NCU09305T0 Supercontig_10.7 protein2genome:Proteins_wt match_part 4248554 4248857 1805 + . ID=Supercontig_10.7:hsp:265392:41_0;Parent=Supercontig_10.7:hit:141771:41_0;Target=NCU09305T0 1 101;Gap=M101 F1 Supercontig_10.7 protein2genome:Proteins_wt match_part 4248931 4249035 1805 + . ID=Supercontig_10.7:hsp:265393:41_0;Parent=Supercontig_10.7:hit:141771:41_0;Target=NCU09305T0 102 136;Gap=R1 M35 F1 Supercontig_10.7 protein2genome:Proteins_wt match_part 4249089 4249708 1805 + . ID=Supercontig_10.7:hsp:265394:41_0;Parent=Supercontig_10.7:hit:141771:41_0;Target=NCU09305T0 137 343;Gap=R1 M207 Supercontig_10.7 protein2genome:Proteins_wt protein_match 4250748 4252647 3282 + . ID=Supercontig_10.7:hit:141772:41_0;Name=NCU11424T0 Supercontig_10.7 protein2genome:Proteins_wt match_part 4250748 4250888 3282 + . ID=Supercontig_10.7:hsp:265395:41_0;Parent=Supercontig_10.7:hit:141772:41_0;Target=NCU11424T0 1 47;Gap=M47 Supercontig_10.7 protein2genome:Proteins_wt match_part 4250950 4252647 3282 + . ID=Supercontig_10.7:hsp:265396:41_0;Parent=Supercontig_10.7:hit:141772:41_0;Target=NCU11424T0 48 613;Gap=M566 Supercontig_10.7 protein2genome:Proteins_wt protein_match 4253179 4254192 1607 + . ID=Supercontig_10.7:hit:141773:41_0;Name=NCU09306T0 Supercontig_10.7 protein2genome:Proteins_wt match_part 4253179 4253875 1607 + . ID=Supercontig_10.7:hsp:265397:41_0;Parent=Supercontig_10.7:hit:141773:41_0;Target=NCU09306T0 1 232;Gap=M232 F1 Supercontig_10.7 protein2genome:Proteins_wt match_part 4253978 4254192 1607 + . ID=Supercontig_10.7:hsp:265398:41_0;Parent=Supercontig_10.7:hit:141773:41_0;Target=NCU09306T0 233 304;Gap=R1 M72 [10:20:50][raramayo][/Volumes/g0006/00scontig101200_wt_maker/zmakerresults02] 261$ tail -1 supercont10r12_01_wt_-fasta.gff3 Supercontig_10.1 protein2genome:Proteins_wt match_part 9771037 9771263 1679 - . ID=Supercontig_10.1:hsp:281564:96_0;Parent=Supercontig_10.1:hit:143095:96_0;Target=NCU10031T0 239 314;Gap=M76 R1 [10:21:07][raramayo][/Volumes/g0006/00scontig101200_wt_maker/zmakerresults02] 262$ tail -1 supercont10r12_0{1..7}_wt_-fasta.gff3 tail: option used in invalid context -- 1 This is not what I expected Thanks From unknown Sat Jun 21 03:24:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11990: Tail does not behave as expected Resent-From: Eric Blake Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Thu, 19 Jul 2012 16:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11990 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Rodolfo Aramayo Cc: 11990@debbugs.gnu.org Received: via spool by 11990-submit@debbugs.gnu.org id=B11990.13427170933407 (code B ref 11990); Thu, 19 Jul 2012 16:59:01 +0000 Received: (at 11990) by debbugs.gnu.org; 19 Jul 2012 16:58:13 +0000 Received: from localhost ([127.0.0.1]:51051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sru3I-0000st-8r for submit@debbugs.gnu.org; Thu, 19 Jul 2012 12:58:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:20621) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sru3E-0000sl-T8 for 11990@debbugs.gnu.org; Thu, 19 Jul 2012 12:58:10 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q6JGpucU013858 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 19 Jul 2012 12:51:56 -0400 Received: from [10.3.113.102] (ovpn-113-102.phx2.redhat.com [10.3.113.102]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q6JGpt1n011878; Thu, 19 Jul 2012 12:51:55 -0400 Message-ID: <50083B2B.9050104@redhat.com> Date: Thu, 19 Jul 2012 10:51:55 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 References: In-Reply-To: X-Enigmail-Version: 1.4.3 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig9C9FE5B482E4DF1CFD01E445" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Spam-Score: -6.9 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9C9FE5B482E4DF1CFD01E445 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable tag 11990 notabug thanks On 07/19/2012 09:25 AM, Rodolfo Aramayo wrote: > Version:tail (GNU coreutils) 8.17 >=20 > Please take a look at this output: >=20 > 261$ tail -1 supercont10r12_01_wt_-fasta.gff3 > Supercontig_10.1 protein2genome:Proteins_wt match_part 9771037 9771263 > 1679 - . ID=3DSupercontig_10.1:hsp:281564:96_0;Parent=3DSupercontig_10.= 1:hit:143095:96_0;Target=3DNCU10031T0 > 239 314;Gap=3DM76 R1 >=20 > [10:21:07][raramayo][/Volumes/g0006/00scontig101200_wt_maker/zmakerresu= lts02] >=20 > 262$ tail -1 supercont10r12_0{1..7}_wt_-fasta.gff3 > tail: option used in invalid context -- 1 >=20 >=20 > This is not what I expected Telling us what you _did_ expect will go a long way to helping us understand what you think is the bug. But my guess is that what is happening is that the unquoted sequence '{1..7}' is being treated as a shell glob that then expands into multiple file names, but we have explicitly documented that the legacy option '-1' only works if you pass a single file name. From 'info coreutils tail': "For compatibility `tail' also supports an obsolete usage `tail -[COUNT][bcl][f] [FILE]', which is recognized only if it does not conflict with the usage described above. This obsolete form uses exactly one option and at most one file." If you want to list the last line of multiple files, you have to use '-n 1' instead of '-1'. Therefore, I'm closing this as not a bug. However, feel free to continue to comment if you have further questions. --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enig9C9FE5B482E4DF1CFD01E445 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJQCDsrAAoJEKeha0olJ0NqyFkH+wdSNQ5LPls3TL2cq2z/+++3 SnS9/1xkQvM1ylZyeLMrwEaxpDJRPiWc3nHypFwTGeUR0G+KsZ5sGEYn0gF328pM XCx0+tsOto6bX9gl93kk1c0ikAya5FmG7kO46te5J1sAEP7SHR32k2cGKLXdb/mC e9DVzqxliTMxr2WbxBCbpO4MOSvMtiZAnYFDIpd+GBaVhHZWvQrqqDCZxWnwMKPD QzunmPpq5zDZxDEmqf+Co/XRz0tfCiL/dUN1Zs3RhqM7XiFjdznfTygEo2RTGpbD 8hGSW7qre6Qu/B5VouCkIB6VbGmQDFESw6+nnoEVy34UocjKpE4+xwQ40gDPDjo= =gi4s -----END PGP SIGNATURE----- --------------enig9C9FE5B482E4DF1CFD01E445-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 19 12:58:53 2012 Received: (at control) by debbugs.gnu.org; 19 Jul 2012 16:58:53 +0000 Received: from localhost ([127.0.0.1]:51054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sru3x-0000tm-1m for submit@debbugs.gnu.org; Thu, 19 Jul 2012 12:58:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47122) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sru3v-0000tf-1T for control@debbugs.gnu.org; Thu, 19 Jul 2012 12:58:51 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q6JGqc2c021796 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 19 Jul 2012 12:52:38 -0400 Received: from [10.3.113.102] (ovpn-113-102.phx2.redhat.com [10.3.113.102]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q6JGqbtB005555 for ; Thu, 19 Jul 2012 12:52:38 -0400 Message-ID: <50083B55.6070908@redhat.com> Date: Thu, 19 Jul 2012 10:52:37 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: Re: bug#11990: Tail does not behave as expected References: <50083B2B.9050104@redhat.com> In-Reply-To: <50083B2B.9050104@redhat.com> X-Enigmail-Version: 1.4.3 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig92987C360D0F35416ED33F4F" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig92987C360D0F35416ED33F4F Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable tag 11990 notabug close 11990 thanks --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enig92987C360D0F35416ED33F4F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJQCDtVAAoJEKeha0olJ0NqUz8IAKfQgyh83XcL6jgkHEil8YD1 8XVpmx0IoMi/NAtfqjzRxvm8VWaiuLWTtDk5KigmK90LOM8BFLBju4ycw1+7qbQu fCd2FUTnG5tt8ZRGJvOvSHL0mdTn6XsJ+g19O4tck71/Qc/A7hkL8FJXWtjvUKSe NkI1zuLmxkWFqhhlv/EzgPvTa2FMzhgF3wmswAgKyLW6YETAsY/HpaqGgKrLZFiB K6gBubHcwXYSzgIQhyoRrHgkRauDLr52QBhz86lC4pbAFcIEBbkvrlVoGnG/EkmD k3pjd5WKh9k9KNNtp7QxTVXddGJPmERd8xC6xzyIE6xDW71mMYzwvegIvYn9GjU= =AD78 -----END PGP SIGNATURE----- --------------enig92987C360D0F35416ED33F4F-- From unknown Sat Jun 21 03:24:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11990: Tail does not behave as expected Resent-From: =?UTF-8?Q?P=C3=A1draig?= Brady Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Thu, 19 Jul 2012 17:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11990 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: notabug To: Rodolfo Aramayo Cc: 11990@debbugs.gnu.org Received: via spool by 11990-submit@debbugs.gnu.org id=B11990.13427173777063 (code B ref 11990); Thu, 19 Jul 2012 17:03:01 +0000 Received: (at 11990) by debbugs.gnu.org; 19 Jul 2012 17:02:57 +0000 Received: from localhost ([127.0.0.1]:51061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sru7s-0001pr-R4 for submit@debbugs.gnu.org; Thu, 19 Jul 2012 13:02:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54620) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sru7q-0001pg-PY; Thu, 19 Jul 2012 13:02:55 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q6JGufZX018728 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 19 Jul 2012 12:56:41 -0400 Received: from [10.36.116.82] (ovpn-116-82.ams2.redhat.com [10.36.116.82]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q6JGudw4018991 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 19 Jul 2012 12:56:40 -0400 Message-ID: <50083C46.7090704@draigBrady.com> Date: Thu, 19 Jul 2012 17:56:38 +0100 From: =?UTF-8?Q?P=C3=A1draig?= Brady User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 MIME-Version: 1.0 References: In-Reply-To: X-Enigmail-Version: 1.3.2 Content-Type: text/plain; charset=UTF-8 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id q6JGufZX018728 X-Spam-Score: -6.9 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) tag 11990 + notabug close 11990 thanks On 07/19/2012 04:25 PM, Rodolfo Aramayo wrote: > Version:tail (GNU coreutils) 8.17 >=20 > Please take a look at this output: >=20 > 259$ tail supercont10r12_01_wt_-fasta.gff3 > Supercontig_10.1 protein2genome:Proteins_wt protein_match 9766147 >=20 > 260$ tail supercont10r12_0{1..2}_wt_-fasta.gff3 > =3D=3D> supercont10r12_01_wt_-fasta.gff3 <=3D=3D > Supercontig_10.1 protein2genome:Proteins_wt protein_match 9766147 > =3D=3D> supercont10r12_02_wt_-fasta.gff3 <=3D=3D > Supercontig_10.2 protein2genome:Proteins_wt match_part 4451411 4452067 >=20 > 261$ tail -1 supercont10r12_01_wt_-fasta.gff3 > Supercontig_10.1 protein2genome:Proteins_wt match_part 9771037 9771263 >=20 > 262$ tail -1 supercont10r12_0{1..2}_wt_-fasta.gff3 > tail: option used in invalid context -- 1 >=20 >=20 > 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-plu= s-N-syntax-now-fails cheers, P=C3=A1draig.