🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #914

Bug or feature?

#914
From: DALL
Date: Fri, 28 Aug 1992 00:13
16 lines
959 bytes
If you do

  for i in 0 1 2 3 4 5 6 7 8 9; do sleep 100; done

and then hit ^Z, only the sleep gets backgrounded, not the for loop.
Repeat the ^Z's and you end up with 10 seperate background processes.
This is presumably because the for loop is not a seperate process,
still, after a user on my system managed to create 13 simultaneous big
processes this way, I am wondering if other shells with job control
work the same way.

--
Ian Dall          I'm not into isms, but hedonism is the most
                  harmless I can think of. -- Phillip Adams

internet: dall@hfrd.dsto.gov.au
Technical Details
Message-ID: <920827142531.3823@hfrd.dsto.gov.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!hfrd.dsto.gov.au!DALL

Show Full Headers
Complete Article Headers
Newsgroups: gnu.bash.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!hfrd.dsto.gov.au!DALL
From: DALL@hfrd.dsto.gov.au
Subject: Bug or feature?
Message-ID: <920827142531.3823@hfrd.dsto.gov.au>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Fri, 28 Aug 1992 00:13:31 GMT
Approved: bug-bash@prep.ai.mit.edu
Lines: 18