| Ticket UUID: | e860418c2d20c7bf93f751b9d56dd2644440a45a | ||
| Title: | glob -dir $dir -tail returns name with leading / if $dir ends in a / | ||
| Type: | Bug | Created on: | 2026-05-21 06:58:31 |
| Submitter: | apnadkarni | Assigned to: | apnadkarni |
| Subsystem: | - New Builtin Commands | Severity: | Important |
| Priority: | 5 Medium | Last modified: | 2026-05-25 11:01:34 |
| Status: | Closed | Closed by: | apnadkarni |
| Resolution: | Fixed | Closed on: | 2026-05-25 11:01:34 |
| Version: | 8.6 | ||
| Description: | ||||
|
Originally reported by @JulianNoble in the discussion in unrelated issue 596936dd2d
| ||||
| User Comments: | ||||
apnadkarni added on 2026-05-24 09:13:24:
Forward slashes seem to work fine.
And without
apnadkarni added on 2026-05-24 11:19:56:
And my second example, which I thought was cosmetic, is also a bug (double escapes). Proposed fix for both in bug-e860418c branch. apnadkarni added on 2026-05-25 11:01:34:
Fixed in [9f84d3ca4d] for 9.0.4 onward. | ||||
