Subject: Re: jobs output from /bin/sh
To: None <tech-userlevel@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: tech-userlevel
Date: 10/26/2002 20:27:28
On Thu, Oct 17, 2002 at 06:28:30PM +0100, David Laight wrote:
> I've been fixing /bin/sh so that the output from 'jobs' obeys the
> posix rules <1>.  This is all ok until you come to the job status that
> is written out when a job stops running - posix requires the output,
> but doesn't specify the format!

It does - the reference is lurking under the definition of 'set -m'.
Similarly the format for terminating asynchronous jobs is specified
under 'set -b'.
'set -m' cross refers to jobs, 'set -b' defines the format.
Fortunately they agree.

	David

-- 
David Laight: david@l8s.co.uk