|
From: | Bruce Lilly |
Subject: | Re: Bash parameter expansion (remove largest trailing match, remove largest leading match, pattern replacement) does not work |
Date: | Sat, 29 Aug 2020 22:08:14 -0400 |
On Sat, Aug 29, 2020 at 9:12 PM Lawrence Velázquez <vq@larryv.me> wrote: > (a) $'...' is not POSIX. For instance, dash does not recognize it. dash also doesn't have adequate pattern matching for the example task (building a path while ensuring no empty components); it has no way to specify one-or-more (or zero-or-more) occurrences of a pattern such as a slash.
[Prev in Thread] | Current Thread | [Next in Thread] |