X-Recipient: archive-cygwin AT delorie DOT 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 Date: Fri, 26 Feb 2010 08:46:39 -0500 Message-ID: Subject: What does this bash line do? To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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