Deutsch   English   Français   Italiano  
<20250408004032.28@kylheku.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Kaz Kylheku <643-408-1753@kylheku.com>
Newsgroups: comp.unix.shell
Subject: Re: LOL, managed to suspend "fg" command somehow.
Date: Tue, 8 Apr 2025 07:43:31 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <20250408004032.28@kylheku.com>
References: <20250407172401.859@kylheku.com>
 <87wmbvxrv4.fsf@nosuchdomain.example.com> <20250408003252.421@kylheku.com>
Injection-Date: Tue, 08 Apr 2025 09:43:32 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="ee17c31df1c9545547fc3e35b3676771";
	logging-data="1878819"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18kQx/krJllOExE9Bi4j5mpp9r8zHbKEeA="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:BB60v5EXI8e2U4D5J0s6w8ZTBTY=
Bytes: 1840

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/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca