home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / gnu / bash / bug / 576 < prev    next >
Encoding:
Text File  |  1992-08-27  |  1.1 KB  |  37 lines

  1. Newsgroups: gnu.bash.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!odin.ins.cwru.edu!chet
  3. From: chet@odin.ins.cwru.edu (Chet Ramey)
  4. Subject: Re: Bug or feature?
  5. Message-ID: <9208271420.AA01970.SM@odin.INS.CWRU.Edu>
  6. Sender: gnulists@ai.mit.edu
  7. Reply-To: chet@po.cwru.edu
  8. Organization: GNUs Not Usenet
  9. References: chet@odin.ins.cwru.edu (Chet Ramey)
  10. Distribution: gnu
  11. Date: Thu, 27 Aug 1992 06:20:19 GMT
  12. Approved: bug-bash@prep.ai.mit.edu
  13. Lines: 22
  14.  
  15. > If you do
  16. >   for i in 0 1 2 3 4 5 6 7 8 9; do sleep 100; done
  17. > and then hit ^Z, only the sleep gets backgrounded, not the for loop.
  18. > Repeat the ^Z's and you end up with 10 seperate background processes.
  19. > This is presumably because the for loop is not a seperate process,
  20. > still, after a user on my system managed to create 13 simultaneous big
  21. > processes this way, I am wondering if other shells with job control
  22. > work the same way.
  23.  
  24. The BSD sh (ash) and zsh both work the same way.  ksh makes the entire
  25. loop unstoppable.
  26.  
  27. Chet
  28.  
  29. --
  30. ``The use of history as therapy means the corruption of history as history.''
  31.     -- Arthur Schlesinger
  32.  
  33. Chet Ramey, Case Western Reserve University    Internet: chet@po.CWRU.Edu
  34.  
  35.