hey folks, have what is maybe, mostly a mental exercise, but...
forgive me if this is obvious, but seems I tried this before and
didn't see 'obvious' way to make this work. could be viewed as
a 'bug' (in terms of consistency' maybe?), but, I'd understand that
the design may have been limited to
Linda Walsh [EMAIL PROTECTED] wrote:
echo ${{f##*/}%$ext} (but: -bash: ${{f##*/}%$ext}: bad substitution)
Do I need to use an intermediate variable
Yes. Unfortunately, the expansion operators work directly on
variables - not on arbitrary strings which may contain other
expansions.
paul