bug-bash
[Top][All Lists]
Advanced

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

Re: bash: invalid character 45 in exportstr for --


From: Chet Ramey
Subject: Re: bash: invalid character 45 in exportstr for --
Date: Wed, 8 Nov 2000 09:59:50 -0500

> Bash Version: 2.04
> Patch Level: 0
> Release Status: release
> 
> Description:
>       everytime the new bash forks a process, I got a 
>       bash: invalid character 45 in exportstr for --
>       this occurs on Solaris 7/Sparc.
>       However, I also compiled the new bash on a Linux/intel
>         and a Solaris 7/intel, and it works fine there.
> 
>       on all machine I have basically the same environment, including
>         a - function :

The function is exported?  Then that's the problem.  Many versions of
/bin/sh will choke and refuse to run if there are environment variables
with invalid characters in their names, so bash warns you about them.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]