This is the mail archive of the
mailing list for the Cygwin project.
What does this bash line do?
- From: Tim Visher <tim dot visher at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 26 Feb 2010 08:46:39 -0500
- Subject: What does this bash line do?
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
http://five.sentenc.es/ - Spend less time on e-mail
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple