I should clarify also that ## removes the prefix. %% removes the suffix. Both are useful. Read your shell's manpage for full details.
On Fri, Feb 8, 2019 at 1:36 PM Russell Senior <[email protected]> wrote: > The $(FOO##BAR} syntax removes BAR from $FOO, so modify BAR to match want > you want removed. > > On Fri, Feb 8, 2019 at 1:32 PM Rich Shepard <[email protected]> > wrote: > >> On Fri, 8 Feb 2019, Russell Senior wrote: >> >> > It won't look exactly right, fwiw. >> >> Russell, >> >> True. The initial underscore remains. Will futz until it's gone. Robert's >> suggested use of rename worked for him, but not for me for some unknown >> reason. >> >> Thanks, >> >> Rich >> _______________________________________________ >> PLUG mailing list >> [email protected] >> http://lists.pdxlinux.org/mailman/listinfo/plug >> > _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
