Re: Errormessage: invalid character in exportstr (?)

2000-03-10 Thread David Natkins
On Fri, Mar 10, 2000 at 02:53:52PM +0100, Joachim Trinkwitz wrote:
 Hi all,
 
 since some time (on several machines with newest woody) I get an error
 message when logged in as root (not as a normal user):
 
invalid character 32 in exportstr for export PATH
 
 This happens with all commands where bash is involved. In my PATH are
I'm not able to reproduce your problem. I am up to date (dpkg problem, etc)
What commands cause the problem?
 


RE: Errormessage: invalid character in exportstr (?)

2000-03-10 Thread Moore, Paul
From: Joachim Trinkwitz [mailto:[EMAIL PROTECTED]
 since some time (on several machines with newest woody) I get an error
 message when logged in as root (not as a normal user):
 
invalid character 32 in exportstr for export PATH
 
 This happens with all commands where bash is involved. In my PATH are
 the common directories, echo $PATH gives
 /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:
 /usr/bin/X11
 
 It's not doing any harm, but it's annoying anyway ...
 
 What's happening and how to avoid this message?

Character 32 is a space. Have you somehow got a space in your PATH? Try echo
[$PATH] and look out for spaces. (The brackets will help you see spaces at
the start and end...)

Paul.