bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cosmetic issue in job control display of suspsended "command" comman


From: Chet Ramey
Subject: Re: Cosmetic issue in job control display of suspsended "command" command.
Date: Tue, 4 Mar 2025 09:59:50 -0500
User-agent: Mozilla Thunderbird

On 3/4/25 2:17 AM, Kaz Kylheku wrote:
Hi All,

Consider this trivial wrapper:

wrapper()
{
   command "$@"
}

Under an older bash like 4.4.20, when we suspend this with Ctrl-Z we get this:

$ wrapper cat
^Z
[1]+  Stopped                 cat

But under a newer bash, like 5.2.37:

$ wrapper cat
^Z
[1]+  Stopped                 command "$@"

The job control listing of the suspended "command" command shows the
unexpanded syntax now.

Thanks for the report. I'll take a look.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]