🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #1323

Re: bash 1.12.1 question

#1323
From: Felix Finch
Date: Sun, 15 Nov 1992 21:33
18 lines
1177 bytes
>>>>> In article <1992Nov11.205052.6857@panther.mot.com>, sacks@netmgr.mot.com (Dennis Sacks) writes:
> Nntp-Posting-Host: netmgr.panther.mot.com

> In bash 1.12.1 (SunOS 4.1.2/sparc) can someone explain this behavior:	

> ls -a | head -5		works as expected

> ls -l | head -5 	works as expected

> ls -la | head -5 	works, but then gives "Broken Pipe" message after execution

Could it be that the directory has so few entries (<=5) that the head
command never shuts down the -a or -l pipe, but -al produces 7 lines
and the pipes cuts off after 5?
-- 

            ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
   Felix Finch, scarecrow repairer / felix@crowfix.com / uunet!crowfix!felix
Technical Details
Message-ID: <FELIX.92Nov15133321@crowfix.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!crowfix!crowfix!felix
References: <1992Nov11.205052.6857@panther.mot.com>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.misc.discuss
Path: arc1-ca.pugleaf.net!sparky!uunet!crowfix!crowfix!felix
From: felix@crowfix.com (Felix Finch)
Subject: Re: bash 1.12.1 question
Organization: Scarecrow Repair, Dutch Flat.
Date: Sun, 15 Nov 1992 21:33:28 GMT
Message-ID: <FELIX.92Nov15133321@crowfix.com>
In-Reply-To: sacks@netmgr.mot.com's message of Wed, 11 Nov 1992 20:50:52 GMT
References: <1992Nov11.205052.6857@panther.mot.com>
Sender: felix@crowfix.com (Felix Finch)
Lines: 18