> This is really a help-bash question. Please send all follow-ups
> there.
This.
However, see:
http://mywiki.wooledge.org/BashFAQ/100
for a more in-depth look at different string manipulation techniques,
including that one.
DJ
lina wrote:
> how to understand
> echo ${PATH#*:}
>
> the #*:
> I don't get it. why the first path before : was gone.
This is really a help-bash question. Please send all follow-ups
there.
The documentation says:
${parameter#word}
${parameter##word}
Hi,
how to understand
echo ${PATH#*:}
the #*:
I don't get it. why the first path before : was gone.
Thanks,