X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 	tests=AWL,BAYES_00,SARE_MSGID_LONG40
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
From: Tim Visher <tim.visher@gmail.com>
Date: Fri, 26 Feb 2010 08:46:39 -0500
Message-ID: <c115fd3c1002260546o5c1f2fdete38f22ffed35f988@mail.gmail.com>
Subject: What does this bash line do?
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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

