BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] What the use of .bashrc
- Subject: [Discuss] What the use of .bashrc
- From: gaf at blu.org (Jerry Feldman)
- Date: Tue, 30 Oct 2012 11:07:32 -0400
- In-reply-to: <1351609109.v2.mailanyonewebmail-496295@fuseweb2f>
- References: <1351609109.v2.mailanyonewebmail-496295@fuseweb2f>
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
- Follow-Ups:
- [Discuss] What the use of .bashrc
- From: abreauj at gmail.com (John Abreau)
- [Discuss] What the use of .bashrc
- References:
- [Discuss] What the use of .bashrc
- From: joe at polcari.com (joe at polcari.com)
- [Discuss] What the use of .bashrc
- Prev by Date: [Discuss] What the use of .bashrc
- Next by Date: [Discuss] What the use of .bashrc
- Previous by thread: [Discuss] What the use of .bashrc
- Next by thread: [Discuss] What the use of .bashrc
- Index(es):