This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

What does this bash line do?


Hi All,

I'm working on my bashrc and I found [this
line](http://pastie.org/844068) that I had copied out of /etc/skel via
cygwin.  I'm trying to create a platform agnostic bash configuration
in the spirit of .emacs.d with .bashrc and .bash_profile and one thing
I'm running into is that various locations change so I need to either
conditionally load them via `if [ ]` statements or possibly better yet
discover the platform I'm on and have a single conditional or set a
variable in the spirit of `(emacs-type)`.

My question then, is what exactly is this line doing?  Like I said, I
got it from my Cygwin install but it works very similarly at home on
Apple Bash w/ MacPorts underneath.  I understand this isn't strictly a
Cygwin question but I figure you all are bash experts anyway so why
not?

-- 

In Christ,

Timmy V.

http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]