X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com From: Hongyi Zhao 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: References: <20090104110730 DOT GH4017 AT trikaliotis DOT net> <4962104F DOT 5000703 AT elite-systems DOT org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 On Mon, 05 Jan 2009 08:51:11 -0500, Robert Pendell 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/