Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 755707 - app-shells/dash-0.5.11.2: jobs in command substitution doesn't work (as if run in subshell)
Summary: app-shells/dash-0.5.11.2: jobs in command substitution doesn't work (as if ru...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-20 12:41 UTC by Nikita Zlobin
Modified: 2020-11-20 18:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Zlobin 2020-11-20 12:41:00 UTC
Manual page jobs(1p) specifies such application use as $(jobs -p),
which seems to be the only way to get job pid somehow reused by saving
in a variable (this page itself also tells it's common to be
implemented as built-in).

It works bash, but not in dash (btw, dash doesn't even document it in own manual).
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-11-20 16:14:42 UTC
This seems like an upstream bug, no?
Comment 2 Mike Gilbert gentoo-dev 2020-11-20 18:34:10 UTC
Indeed.