From unknown Wed Jun 25 05:36:26 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#8993 <8993@debbugs.gnu.org> To: bug#8993 <8993@debbugs.gnu.org> Subject: Status: head -n Reply-To: bug#8993 <8993@debbugs.gnu.org> Date: Wed, 25 Jun 2025 12:36:26 +0000 retitle 8993 head -n reassign 8993 coreutils submitter 8993 Miroslav Karlovsky severity 8993 normal tag 8993 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 04 07:18:43 2011 Received: (at submit) by debbugs.gnu.org; 4 Jul 2011 11:18:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QdhAo-0001yY-KU for submit@debbugs.gnu.org; Mon, 04 Jul 2011 07:18:43 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qdere-00079N-I9 for submit@debbugs.gnu.org; Mon, 04 Jul 2011 04:50:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QderY-0003vj-KL for submit@debbugs.gnu.org; Mon, 04 Jul 2011 04:50:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:42020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QderY-0003vf-C5 for submit@debbugs.gnu.org; Mon, 04 Jul 2011 04:50:40 -0400 Received: from eggs.gnu.org ([140.186.70.92]:54016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QderW-0005fA-9N for bug-coreutils@gnu.org; Mon, 04 Jul 2011 04:50:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QderV-0003vM-5y for bug-coreutils@gnu.org; Mon, 04 Jul 2011 04:50:38 -0400 Received: from fmmailgate03.web.de ([217.72.192.234]:43284) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QderU-0003ux-WC for bug-coreutils@gnu.org; Mon, 04 Jul 2011 04:50:37 -0400 Received: from smtp05.web.de ( [172.20.4.166]) by fmmailgate03.web.de (Postfix) with ESMTP id A715F1932DEC8 for ; Mon, 4 Jul 2011 10:50:34 +0200 (CEST) Received: from [89.13.61.76] (helo=[192.168.1.33]) by smtp05.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #2) id 1QderS-0002i2-00 for bug-coreutils@gnu.org; Mon, 04 Jul 2011 10:50:34 +0200 Message-ID: <4E1163C6.30802@web.de> Date: Mon, 04 Jul 2011 08:55:02 +0200 From: Miroslav Karlovsky User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110516 Thunderbird/3.1.10 MIME-Version: 1.0 To: bug-coreutils@gnu.org Subject: head -n Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Sender: emka_ffm@web.de X-Provags-ID: V01U2FsdGVkX18hWu25fbxe5ngWqwINSqoB88fSil26gdBwnxoR WZs+IpGJeEo7UrlRAAH3lAiv3e0g/+IBQ+pvnuBYwylfhknnVk foV6BUmoE= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 04 Jul 2011 07:18:42 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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.6 (------) Hallo gnu.org, head-n produce sometimes to much empty lines s.d. One limiting for highest 2 lines (maximum) are forcing. Thank you. Meny regards, miroo html2text -ascii $i | head -n$zZ >> ZZ-line.txt System: AMD Phenom II X4 925 2,8GHz, RAM 8GB Ubuntu Natty Narwhal 11.04 Kernel 2.8.38-8 generic x86_64 Gnome: 2.32.1 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 05 11:36:08 2011 Received: (at 8993) by debbugs.gnu.org; 5 Jul 2011 15:36:08 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qe7fT-0002Xo-IC for submit@debbugs.gnu.org; Tue, 05 Jul 2011 11:36:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qe7fO-0002XK-LB for 8993@debbugs.gnu.org; Tue, 05 Jul 2011 11:36:05 -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 p65FZuIQ019581 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 5 Jul 2011 11:35:56 -0400 Received: from [10.3.113.151] (ovpn-113-151.phx2.redhat.com [10.3.113.151]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p65FZtOc009766; Tue, 5 Jul 2011 11:35:56 -0400 Message-ID: <4E132F5B.7090406@redhat.com> Date: Tue, 05 Jul 2011 09:35:55 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10 MIME-Version: 1.0 To: Miroslav Karlovsky Subject: Re: bug#8993: head -n References: <4E1163C6.30802@web.de> In-Reply-To: <4E1163C6.30802@web.de> X-Enigmail-Version: 1.1.2 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigF0661F1C78A18A74B771EE3D" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-Spam-Score: -10.3 (----------) X-Debbugs-Envelope-To: 8993 Cc: 8993@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -10.3 (----------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF0661F1C78A18A74B771EE3D Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable tag 8993 needinfo thanks On 07/04/2011 12:55 AM, Miroslav Karlovsky wrote: > Hallo gnu.org, >=20 > head-n produce sometimes to much empty lines s.d. > One limiting for highest 2 lines (maximum) are forcing. >=20 > Thank you. > Meny regards, miroo >=20 > html2text -ascii $i | head -n$zZ >> ZZ-line.txt Thanks for the report, but I'm not quite sure what you are complaining about. We need more details as to what you are trying to do, and why what happened didn't match what you wanted. For example, what is the value of $zZ in the instance of the 'head' run that didn't behave the way you expected? Is this part of a bigger script? Could the bug be elsewhere in your script, rather than in the behavior of head? --=20 Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enigF0661F1C78A18A74B771EE3D 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.11 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJOEy9bAAoJEKeha0olJ0NqZeUH/j4bKyPXww/j0Vyx+LNp6+S6 K4Z77oHP48FIQHEyT30FHjOd8mE5sIODzEmudw55oPzLvwKPPuKzIlrO1fOp1xzb mJoUoMPQG468RRHh8/Jb5MC6UgcWL6QgrEGGL0f3dUmFekgOaifZxH6ZtuffWHv7 WwsXJLvMnz773ax31+VHLTu3T/6+yBsuV/NNQmW0T3TWfKbdUpkFKGgTmqO1NOAE 6Dkkj88okg0XyzE8ZfzRXTOvbzNnFNogUDXN8VGwbRdvwh7e9BfYbsgwYM4YH2eO TlGgba6WqqMx5iLg4kCfzJRUmFOlLK7OzqzH9YLTxnivxP16nIcZUK/g4CBeOMs= =BZwU -----END PGP SIGNATURE----- --------------enigF0661F1C78A18A74B771EE3D-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 05 14:15:38 2011 Received: (at control) by debbugs.gnu.org; 5 Jul 2011 18:15:39 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QeA9q-0007lF-MW for submit@debbugs.gnu.org; Tue, 05 Jul 2011 14:15:38 -0400 Received: from mx.meyering.net ([82.230.74.64]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QeA9o-0007l1-1L for control@debbugs.gnu.org; Tue, 05 Jul 2011 14:15:36 -0400 Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 7207560328; Tue, 5 Jul 2011 20:15:30 +0200 (CEST) From: Jim Meyering To: control@debbugs.gnu.org Subject: moreinfo Date: Tue, 05 Jul 2011 20:15:30 +0200 Message-ID: <87oc18y4ot.fsf@rho.meyering.net> Lines: 5 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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 (------) tags 8994 + moreinfo tags 8993 + moreinfo thanks Eric requested actual details. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 28 17:50:35 2011 Received: (at control) by debbugs.gnu.org; 28 Jul 2011 21:50:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QmYTT-000248-BB for submit@debbugs.gnu.org; Thu, 28 Jul 2011 17:50:35 -0400 Received: from joseki.proulx.com ([216.17.153.58]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QmYTR-000241-B9 for control@debbugs.gnu.org; Thu, 28 Jul 2011 17:50:33 -0400 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id A189E21412 for ; Thu, 28 Jul 2011 15:50:31 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 81A9C2DC70; Thu, 28 Jul 2011 15:50:31 -0600 (MDT) Date: Thu, 28 Jul 2011 15:50:31 -0600 From: Bob Proulx To: control@debbugs.gnu.org Subject: merge bugs Message-ID: <20110728215031.GA3727@hysteria.proulx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.5 (--) forcemerge 8993 8994 thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 28 17:56:51 2011 Received: (at 8993) by debbugs.gnu.org; 28 Jul 2011 21:56:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QmYZX-0002Co-Ca for submit@debbugs.gnu.org; Thu, 28 Jul 2011 17:56:51 -0400 Received: from joseki.proulx.com ([216.17.153.58]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QmYZW-0002Ci-99 for 8993@debbugs.gnu.org; Thu, 28 Jul 2011 17:56:50 -0400 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 3CD4521412; Thu, 28 Jul 2011 15:56:48 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id EB20C2DC70; Thu, 28 Jul 2011 15:56:47 -0600 (MDT) Date: Thu, 28 Jul 2011 15:56:47 -0600 From: Bob Proulx To: Miroslav Karlovsky Subject: Re: bug#8993: head -n Message-ID: <20110728215647.GC1893@hysteria.proulx.com> References: <4E1163C6.30802@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E1163C6.30802@web.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 8993 Cc: 8993@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.5 (--) Miroslav Karlovsky wrote: > head-n produce sometimes to much empty lines s.d. > One limiting for highest 2 lines (maximum) are forcing. > > html2text -ascii $i | head -n$zZ >> ZZ-line.txt In bug#8994 now merged with 8993: > My replenishment to head -n resolf to minimum of the lines are 8. This > make few empty newlines but not lose any Files ! Are you still having a problem with the head command? A few weeks have passed without further report. The above information does not show us any problems. Bob From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 29 03:17:40 2011 Received: (at 8993-done) by debbugs.gnu.org; 29 Jul 2011 07:17:40 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QmhKF-00073H-Sa for submit@debbugs.gnu.org; Fri, 29 Jul 2011 03:17:40 -0400 Received: from joseki.proulx.com ([216.17.153.58]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QmhKC-000734-Pl for 8993-done@debbugs.gnu.org; Fri, 29 Jul 2011 03:17:38 -0400 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 7384C21412; Fri, 29 Jul 2011 01:17:30 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 555BD2DC70; Fri, 29 Jul 2011 01:17:30 -0600 (MDT) Date: Fri, 29 Jul 2011 01:17:30 -0600 From: Bob Proulx To: Miroslav Karlovsky Subject: Re: bug#8993: head -n Message-ID: <20110729071730.GA23363@hysteria.proulx.com> References: <4E1163C6.30802@web.de> <20110728215647.GC1893@hysteria.proulx.com> <1311923377.18648.7.camel@miro-MS-7646> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1311923377.18648.7.camel@miro-MS-7646> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 8993-done Cc: 8993-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.5 (--) Miroslav Karlovsky wrote: > Hallo Bob, > sorry I mean without Pipes and head -xy less Garbage-collection and more > speedy. Just with Lines or more better and to look for words > (incl./excl.line). Same the Unix. > Thanks, miroo That's great then. In that case I will go ahead and close the ticket to keep things tidy. Please feel free to add more input to the ticket. Bob From unknown Wed Jun 25 05:36:26 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 26 Aug 2011 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator