DASH Shell discussions
 help / color / mirror / Atom feed
From: Jonathan Nieder <jrnieder@gmail.com>
To: Michael Welsh Duggan <mwd@cert.org>
Cc: dash@vger.kernel.org
Subject: Re: Question about job control in non-interactive shells
Date: Mon, 9 Jan 2012 10:37:45 -0600	[thread overview]
Message-ID: <20120109163745.GA23825@burratino> (raw)
In-Reply-To: <tntr4z8j1fk.fsf@waterbuck.yellow.cert.org>

Hi Michael,

Michael Welsh Duggan wrote:

> I am trying to determine why:
>
>   dash -c "sleep 5 & kill %1"
>
> results in:
>
>   dash: 1: kill: No such process

You are probably looking for the -m option.

Thanks for writing, and hope that helps,
Jonathan

  reply	other threads:[~2012-01-09 16:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-09 16:17 Question about job control in non-interactive shells Michael Welsh Duggan
2012-01-09 16:37 ` Jonathan Nieder [this message]
2012-01-13 15:49   ` Jilles Tjoelker
2012-01-15  3:53     ` Herbert Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120109163745.GA23825@burratino \
    --to=jrnieder@gmail.com \
    --cc=dash@vger.kernel.org \
    --cc=mwd@cert.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox