RE: Errormessage: invalid character in exportstr (?)
From: Joachim Trinkwitz [mailto:jtr@uni-bonn.de]
> 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.
Reply to: