[Novalug] stupid bask question.

Mark Smith mark@winksmith.com
Mon Jan 29 21:00:14 EST 2018


"export $PATH" is not the same as "export PATH". you want the latter.


On 2018-01-30 14:43, pereira via Novalug wrote:
> I have this in .profile:
>
> (snip)
>     PATH=".:$PATH"
>
> # add fstools-0.0 to use del and df3 and others; 
> http://fex.belwue.de/fstools/del.html
> #    PATH="$PATH:/home/pereira/fstools-0.0/bin"
> #    PATH=$PATH:$HOME/fstools-0.0/bin
> #( these I commented out as tests: somehow, I had them already so they 
> were double)
>     export $PATH
>
> It's in two steps but that should be OK. Right?
>
>
> On 01/29/2018 08:39 PM, Mark Smith via Novalug wrote:
>> do you have the dollar sign '$' on the left hand sign in an startup 
>> script? e.g. export $PATH=foo
>>
>>
>> On 2018-01-30 14:28, pereira via Novalug wrote:
>>> I've looked but I can't see what the following statement is trying 
>>> to tell me is wrong. It comes up when
>>> I call xxterm, to get a new terminal, and when I sign in for the 
>>> first time. It asks me to fix it ASAP.
>>>
>>> -bash: export: 
>>> `.:/home/pereira/perl5/bin:.:/home/pereira/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/pereira/fstools-0.0/bin': 
>>> not a valid identifier
>>>
>>> What is an identifier, and what is wrong with this one?
>> **********************************************************************
>> The Novalug mailing list is hosted by firemountain.net.
>>
>> To unsubscribe or change delivery options:
>> http://www.firemountain.net/mailman/listinfo/novalug
>
> **********************************************************************
> The Novalug mailing list is hosted by firemountain.net.
>
> To unsubscribe or change delivery options:
> http://www.firemountain.net/mailman/listinfo/novalug




More information about the Novalug mailing list