[Discuss] What the use of .bashrc

John Abreau abreauj at gmail.com
Tue Oct 30 11:46:41 EDT 2012


I just looked for that in the bash manpage, and i can't find anything
describing
that behavior. Can you highlight where you discovered that?



On Tue, Oct 30, 2012 at 11:07 AM, Jerry Feldman <gaf at blu.org> wrote:
> On 10/30/2012 10:58 AM, joe at polcari.com wrote:
>>   Looks to me like the first test only tests if $1 is not at the end of $PATHor am I missing something?    ----- Original Message -----From: "Jerry Feldman" >;gaf at blu.org
>>
> No, it tests is $1 exists in $PATH.
> I really hate bash pattern matching because I have to read the manual
> every time I use them.
> in this case '*:"$1":*' looks for $1 anywhere in $PATH.
>
> --
> Jerry Feldman <gaf at blu.org>
> Boston Linux and Unix
> PGP key id:3BC1EB90
> PGP Key fingerprint: 49E2 C52A FC5A A31F 8D66  C0AF 7CEA 30FC 3BC1 EB90
>
>
>
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://lists.blu.org/mailman/listinfo/discuss
>



-- 
John Abreau / Executive Director, Boston Linux & Unix
PGP KeyID: 32A492D8 / Email: abreauj at gmail.com
PGP FP: 7834 AEC2 EFA3 565C A4B6  9BA4 0ACB AD85 32A4 92D8



More information about the Discuss mailing list