Re: Feature request (not a bug): enhanced variable substitutions would be nice.

2025-08-04 Thread Martin D Kealey
-Martin On Tue, 5 Aug 2025 at 02:17, Stan Marsh wrote: > (I am talking about things like ${var:-default value}) > > I have long wished there was a substitution for "substitute a string if > var is unset > else substitute nothing". I've wondered about that myself at times. I like the idea, but

Feature request (not a bug): enhanced variable substitutions would be nice.

2025-08-04 Thread Stan Marsh
(I am talking about things like ${var:-default value}) I have long wished there was a substitution for "substitute a string if var is unset else substitute nothing". This would basically be the inverse of :+, which means substitute a string if the var is set (ignoring the actual value of the v