Sujet : Re: (bash) How (really!) does the "current job" get determined?
De : janis_papanagnou+ng (at) *nospam* hotmail.com (Janis Papanagnou)
Groupes : comp.unix.shellDate : 04. Oct 2024, 20:42:12
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vdpgf0$bchi$1@dont-email.me>
References : 1 2 3 4 5
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 04.10.2024 19:49, Christian Weisgerber wrote:
On 2024-10-04, Kaz Kylheku <643-408-1753@kylheku.com> wrote:
What? Scripting should not go anywhere near POSIX job control, which is
an interactive feature that requires a terminal session.
Well, there _is_ set -m.
And how will that devaluate what Kaz has said? Please elaborate.
See also Bolsky/Korn (chapter "Job Control") about some details
on implicit and explicit activation, implementation dependencies,
and use of option 'monitor' (-m) [for interactive invocations]
for systems that don't support ("complete") job control.
If you have other information (facts, rationales, or insights),
or if you know of any useful and sensible application contexts
for non-interactive usages I'd certainly be curious to know.[*]
Janis
[*] The job-control "layering" that Kaz mentioned was the only
thing that appeared somewhat obvious to me. I also don't expect
any insights from the OP (who obviously was in insult-mode), so
feel free to jump in.