Path: ...!news.roellig-ltd.de!open-news-network.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Kaz Kylheku <643-408-1753@kylheku.com> Newsgroups: comp.unix.shell Subject: Re: (bash) How (really!) does the "current job" get determined? Date: Sat, 5 Oct 2024 02:23:09 -0000 (UTC) Organization: A noiseless patient Spider Lines: 21 Message-ID: <20241004191825.824@kylheku.com> References: <20241003170607.397@kylheku.com> <20241004070133.515@kylheku.com> Injection-Date: Sat, 05 Oct 2024 04:23:09 +0200 (CEST) Injection-Info: dont-email.me; posting-host="09098d4b3aefe89c5565a1d0281bc215"; logging-data="650265"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18k2FPmlbfKtyMFuBTD5tBgQc8gJyB4h8Q=" User-Agent: slrn/pre1.0.4-9 (Linux) Cancel-Lock: sha1:hXIlMdSAqzQBy3HaINFOmEDTk4c= Bytes: 1894 On 2024-10-04, Christian Weisgerber wrote: > On 2024-10-04, Janis Papanagnou 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. > > Job control does not require an interactive shell or a terminal > session. > > It can be used in scripting. That's the facts. An example of what you mean would help. -- TXR Programming Language: http://nongnu.org/txr Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal Mastodon: @Kazinator@mstdn.ca