delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/09/02/18:19:45

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <48BDBBB9.3080504@etr-usa.com>
Date: Tue, 02 Sep 2008 16:18:33 -0600
From: Warren Young <warren AT etr-usa DOT com>
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
MIME-Version: 1.0
To: Cygwin-L <cygwin AT cygwin DOT com>
Subject: Re: Probably stupid make question
References: <B870629719727B4BA82A6C06A31C291207429E06EA AT hqmailsvr01 DOT voltage DOT com> <48B706FB DOT 4CAE7693 AT dessent DOT net> <20080828203234 DOT GB17369 AT ednor DOT casa DOT cgf DOT cx> <B870629719727B4BA82A6C06A31C291207429E0893 AT hqmailsvr01 DOT voltage DOT com> <2A9FABB3664AF8459CBADA1CE4E4024642D52EA2B1 AT DF-MASTIFF-MSG DOT exchange DOT corp DOT microsoft DOT com> <20080830195510 DOT GB20923 AT ednor DOT casa DOT cgf DOT cx> <B870629719727B4BA82A6C06A31C291207429E091B AT hqmailsvr01 DOT voltage DOT com> <20080830223221 DOT GB21834 AT ednor DOT casa DOT cgf DOT cx> <B870629719727B4BA82A6C06A31C291207429E091E AT hqmailsvr01 DOT voltage DOT com>
In-Reply-To: <B870629719727B4BA82A6C06A31C291207429E091E@hqmailsvr01.voltage.com>
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

Phil Smith wrote:
> exactly what part of "(obviously I can figure this out, but if I knew
> offhand it would save me some hassle)" was unclear?

He's saying try it and find out:

$ cat > foo.sh
#!/bin/sh
echo $#
^D
$ chmod +x foo.sh
$ ./foo.sh -Dsomething=c:/Documents and Settings/whatever
3
$ ./foo.sh "-Dsomething=c:/Documents and Settings/whatever"
1
$

How hard was that?

--
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