delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/06/06:21:47

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 <hongyi DOT zhao AT gmail DOT 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 AT 4ax DOT com> <20090104110730 DOT GH4017 AT trikaliotis DOT net> <mfo3m4944ovb7o06dbh8k2rl6kb2bfunl2 AT 4ax DOT com> <4962104F DOT 5000703 AT elite-systems DOT org>
Mime-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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
<shinji AT elite-systems DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019