Sujet : Re: LOL, managed to suspend "fg" command somehow.
De : 643-408-1753 (at) *nospam* kylheku.com (Kaz Kylheku)
Groupes : comp.unix.shellDate : 08. Apr 2025, 08:43:31
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20250408004032.28@kylheku.com>
References : 1 2 3
User-Agent : slrn/pre1.0.4-9 (Linux)
On 2025-04-08, Kaz Kylheku <
643-408-1753@kylheku.com> wrote:
On 2025-04-08, Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:
Kaz Kylheku <643-408-1753@kylheku.com> writes:
Says it all:
>
$ jobs
[39]- Stopped fg (wd: ~/jp-hash)
>
:)
>
I've seen a bash bug where the names reported by the jobs command are
incorrect.
>
I quite recently reported something in this area to the bug mailing list.
The issue is that starting in some version of Bash 5, an interactive,
backgrounded command which is computed, for instance:
command $var "$@" &
will show in "jobs" as literally the above the unexpanded syntax, rather
than the expanded command that was actually invoked.
-- TXR Programming Language: http://nongnu.org/txrCygnal: Cygwin Native Application Library: http://kylheku.com/cygnalMastodon: @Kazinator@mstdn.ca