X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=2.1 required=5.0 	tests=AWL,BAYES_00,J_CHICKENPOX_64,RCVD_IN_CHINA,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Hongyi Zhao <hongyi.zhao@gmail.com>
Subject:  Re: Trick cmd.exe of Windows XP to run cygwin Batch Script.
Date:  Tue, 06 Jan 2009 19:20:49 +0800
Lines: 20
Message-ID:  <nhf6m4hvtaavk3fhh5pvcs3jc56hpuud01@4ax.com>
References:  <r531m49nvsu311asr3g18jk74m5l104lch@4ax.com> <20090104110730.GH4017@trikaliotis.net> <mfo3m4944ovb7o06dbh8k2rl6kb2bfunl2@4ax.com> <4962104F.5000703@elite-systems.org>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
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

On Mon, 05 Jan 2009 08:51:11 -0500, Robert Pendell
<shinji@elite-systems.org> wrote:
>For all of the above you probably wouldn't find anything in bash 
>built-in help docs.  You would find it in the man page for bash.  Type 
>'man bash' in a cygwin window and you will find both -l and -c defined 
>there.  Just for reference...
>
>-l - Make bash act as if it had been invoked as a login shell.
>--login - Same as -l.
>
>-c string - If the -c option is present then commands are read from 
>string.  if there are arguments after the string, they are assigned to 
>the positional parameters, starting with $0.
>
>http://cygwin.com/acronyms/#RTFM

Thanks for your detailed explanations.

-- 
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.


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

