daryananin@whitesmiths.com.au (Navin) writes:
|> Hello people
|>
|> I am a newbie to linux but am comfortable with some shell programming.
|>
|> I am using bash-2.05-15mdk and bash-completion-20020115-1 and Mandrake 8.1
|>
|> This is extract from the _cd() section of the /etc/bash_completion
|>
|> for i in ${CDPATH//:/ }; do
Check out what IFS is set to prior to this line. Depending on its value
the expansion of ${CDPATH//:/ } might not be split at the spaces.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."