[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: // in paths



> 
> When I type (in bash):
> 
>    % type foo
> 
> it returns
> 
>    foo is /usr/local/bin//foo
> 
> with two /'s before `foo'.  (I get the same effect with `csh' and `which'.)
> Has anyone else seen this behavior?  Anyone know what's causing it?  Or how to
> fix it?
> 

This is what you get if the directory in your path has a trailing
slash, so your PATH environment variable has "/usr/local/bin/", instead
of just "/usr/local/bin", which is enough.  Not much of a big deal, it
costs you an extra byte of memory (well strictly speaking, that would be
on average only :).

Eric

-- 
 E.L. Meijer (tgakem@chem.tue.nl)          | tel. office +31 40 2472189
 Eindhoven Univ. of Technology             | tel. lab.   +31 40 2475032
 Lab. for Catalysis and Inorg. Chem. (TAK) | tel. fax    +31 40 2455054


Reply to: