bug-bash
[Top][All Lists]
Advanced

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

Re: Bash parameter expansion (remove largest trailing match, remove larg


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.



reply via email to

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