• LOL, managed to suspend "fg" command somehow.

    From Kaz Kylheku@643-408-1753@kylheku.com to comp.unix.shell on Tue Apr 8 00:30:26 2025
    From Newsgroup: comp.unix.shell

    Says it all:

    $ jobs
    [39]- Stopped fg (wd: ~/jp-hash)

    :)
    --
    TXR Programming Language: http://nongnu.org/txr
    Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
    Mastodon: @Kazinator@mstdn.ca
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Keith Thompson@Keith.S.Thompson+u@gmail.com to comp.unix.shell on Mon Apr 7 20:19:11 2025
    From Newsgroup: comp.unix.shell

    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 don't recall the details, but this looks familiar. Try
    `jobs -l` to see the process id, then `ps` (if and only if you're
    sufficiently curious).
    --
    Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
    void Void(void) { Void(); } /* The recursive call of the void */
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Kaz Kylheku@643-408-1753@kylheku.com to comp.unix.shell on Tue Apr 8 07:33:35 2025
    From Newsgroup: comp.unix.shell

    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.
    --
    TXR Programming Language: http://nongnu.org/txr
    Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
    Mastodon: @Kazinator@mstdn.ca
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Kaz Kylheku@643-408-1753@kylheku.com to comp.unix.shell on Tue Apr 8 07:43:31 2025
    From Newsgroup: comp.unix.shell

    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
    --- Synchronet 3.21b-Linux NewsLink 1.2