home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / misc / discuss / 3583 < prev    next >
Encoding:
Text File  |  1992-11-15  |  1.1 KB  |  31 lines

  1. Newsgroups: gnu.misc.discuss
  2. Path: sparky!uunet!crowfix!crowfix!felix
  3. From: felix@crowfix.com (Felix Finch)
  4. Subject: Re: bash 1.12.1 question
  5. Organization: Scarecrow Repair, Dutch Flat.
  6. Date: Sun, 15 Nov 1992 21:33:28 GMT
  7. Message-ID: <FELIX.92Nov15133321@crowfix.com>
  8. In-Reply-To: sacks@netmgr.mot.com's message of Wed, 11 Nov 1992 20:50:52 GMT
  9. References: <1992Nov11.205052.6857@panther.mot.com>
  10. Sender: felix@crowfix.com (Felix Finch)
  11. Lines: 18
  12.  
  13. >>>>> In article <1992Nov11.205052.6857@panther.mot.com>, sacks@netmgr.mot.com (Dennis Sacks) writes:
  14. > Nntp-Posting-Host: netmgr.panther.mot.com
  15.  
  16. > In bash 1.12.1 (SunOS 4.1.2/sparc) can someone explain this behavior:    
  17.  
  18. > ls -a | head -5        works as expected
  19.  
  20. > ls -l | head -5     works as expected
  21.  
  22. > ls -la | head -5     works, but then gives "Broken Pipe" message after execution
  23.  
  24. Could it be that the directory has so few entries (<=5) that the head
  25. command never shuts down the -a or -l pipe, but -al produces 7 lines
  26. and the pipes cuts off after 5?
  27. -- 
  28.  
  29.             ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
  30.    Felix Finch, scarecrow repairer / felix@crowfix.com / uunet!crowfix!felix
  31.