All of lore.kernel.org
 help / color / mirror / Atom feed
* Question about job control in non-interactive shells
@ 2012-01-09 16:17 Michael Welsh Duggan
  2012-01-09 16:37 ` Jonathan Nieder
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Welsh Duggan @ 2012-01-09 16:17 UTC (permalink / raw)
  To: dash

I am trying to determine why:

  dash -c "sleep 5 & kill %1"

results in:

  dash: 1: kill: No such process

whereas from an interactive dash

  sleep 5 & kill %1

seems to do exactly what it should.  Any hints?

-- 
Michael Welsh Duggan
(mwd@cert.org)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-15  3:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-09 16:17 Question about job control in non-interactive shells Michael Welsh Duggan
2012-01-09 16:37 ` Jonathan Nieder
2012-01-13 15:49   ` Jilles Tjoelker
2012-01-15  3:53     ` Herbert Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.