* Re: Bug#346162: zsh: jobs -p is not POSIX-compliant
@ 2006-04-03 4:54 Bart Schaefer
0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2006-04-03 4:54 UTC (permalink / raw)
To: Clint Adams, zsh-workers; +Cc: Vincent Lefevre, 346162-forwarded
On Apr 2, 12:50pm, Clint Adams wrote:
}
} Another option, on for sh emulation?
I keep wanting to make POSIX_BUILTINS responsible for this sort of thing,
but it has a more specific meaning than that. Possibly this should just
be another one of those things that checks the internal "emulation" mode,
rather than having an option to turn it on/off at will.
This is tangentially related to users/8989 and workers/21366 from last
year. I never committed 21366.
} On Fri, Jan 06, 2006 at 04:16:51AM +0100, Vincent Lefevre wrote:
} > Package: zsh
} > Version: 4.3.0-dev-2-1
} > Severity: normal
} >
} > POSIX says that with "jobs -p", only the PID is output, whereas zsh
} > outputs full information.
It's actually worse than that. "jobs -p" in zsh predates the POSIX spec,
as far as I know ... and zsh's "jobs -p" outputs process *group* numbers,
that is, the PID of the group leader only, not individual process IDs.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Bug#346162: zsh: jobs -p is not POSIX-compliant
@ 2006-04-02 16:50 Clint Adams
0 siblings, 0 replies; 2+ messages in thread
From: Clint Adams @ 2006-04-02 16:50 UTC (permalink / raw)
To: zsh-workers; +Cc: Vincent Lefevre, 346162-forwarded
Another option, on for sh emulation?
On Fri, Jan 06, 2006 at 04:16:51AM +0100, Vincent Lefevre wrote:
> Package: zsh
> Version: 4.3.0-dev-2-1
> Severity: normal
>
> POSIX says that with "jobs -p", only the PID is output, whereas zsh
> outputs full information.
>
> See http://www.opengroup.org/onlinepubs/009695399/utilities/jobs.html
>
> STDOUT
>
> If the -p option is specified, the output shall consist of one
> line for each process ID:
>
> "%d\n", <process ID>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-04-03 4:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-03 4:54 Bug#346162: zsh: jobs -p is not POSIX-compliant Bart Schaefer
-- strict thread matches above, loose matches on Subject: below --
2006-04-02 16:50 Clint Adams
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).