Quote:
Originally Posted by i92guboj This bashrc is a mess. If you don't understand what it does, you probably don't need such a bashrc file.
Why are you trying to do on first place?
If you have a specific need or problem, just let us know and we can help to design a basic rc file to solve that. But just throwing a +150 lines script into your home without knowing what even it does is not a good idea at all. |
Actually i never worked on BASH i always worked on CSH, So i was having a csh rc file and i tried converting it to .bashrc file.
So i got the problem.
And i know what this file does.
And for the first reply ! "Mr. I am having 257 lines in bashrc file but some of the lines are not meant to be disclosed."
I am working for Cisco and those lines were containing some paths some router ip addresses, Release numbers and so on.
Sorry for that!
So
Ok i got one answer that is
If ends with Fi.
But i am not satisfied with the second answer that says :
export is to be used after we set the value.
Buddy it is working fine for me in both the cases.
Don't know how?
So do u think that "if" is the one who is making my file to give an error: Unexpected end of file?
Ok thanks for your support, I am trying to resolve it.