Re: how to understand echo ${PATH#*:}

2011-12-27 Thread DJ Mills
> 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

Re: how to understand echo ${PATH#*:}

2011-12-25 Thread Bob Proulx
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}

how to understand echo ${PATH#*:}

2011-12-25 Thread lina
Hi, how to understand echo ${PATH#*:} the #*: I don't get it. why the first path before : was gone. Thanks,