Bash not interpreting negative offsets in Substrring Expanison of parameters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
According to the man page, $(variable:
A short typescript is attached. It shows two good expansions followed by three bad ones.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: bash 5.0-6ubuntu1.1
ProcVersionSign
Uname: Linux 5.4.0-66-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: XFCE
Date: Tue Mar 23 09:09:28 2021
SourcePackage: bash
UpgradeStatus: Upgraded to focal on 2021-02-19 (32 days ago)