[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: extraneous output from sanity
From: |
Paul Edwards |
Subject: |
Re: extraneous output from sanity |
Date: |
Thu, 11 Sep 2008 23:48:23 +1000 |
This is an easy enough fix to install, but why in the world would `cd
dir' echo and yet `cd ./dir' does not?
I think that is bash's behaviour. If you do a "cd xyz" then it could
either search your CDPATH and find any directory that has "xyz"
in it, or it could go to ./xyz. It echoes regardless to let you know
where you ended up.
If you put an explicit path, it doesn't echo, because you know
that your CDPATH wasn't searched.
It probably has something to do with the fact that that bit of
sanity.sh is executing a shell within a shell, so probably reads
my .bashrc or something like that.
BFN. Paul.