Search Results

Search: Posts Made By: BMetelsky
3,885
Posted By BMetelsky
Actually... the weird part is I didnt see any ^M...
Actually... the weird part is I didnt see any ^M or the like.... Im using vi so they "should" show up....

In vi the file looked clean

Creating a new file worked, it surprised me actually. I was...
3,885
Posted By BMetelsky
well... thanks for the sanity check. I seems...
well... thanks for the sanity check. I seems there must have been some special (hidden) characters in the profile. I created a new file and the variables wourk as expected....

unreal-
Thanks
Bob
3,885
Posted By BMetelsky
############# I execute . profile manualy ie ....
#############
I execute . profile manualy ie . .profile

you certianly can use export this way...

$ export VAR="Thanks for the reply"
$ echo $VAR
Thanks for the reply
3,885
Posted By BMetelsky
when I source in a .profile, variables are...
when I source in a .profile, variables are somehow checked, and generating an error (listed)

contents of .profile

export foo=/a/location/that/dosnt/exist

when I source it it via . .profile...
3,885
Posted By BMetelsky
Eliminate variable checking in a script
RH Linux, $SHELL=/bin/ksh

I have a .profile which I source in as such --> . .profile

Whats happening is the variables are getting validated and generating errors.

for example

.profile...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 04:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy