Howto force winXP use cygwin "if test -n"

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Tue Aug 28 13:28:00 GMT 2007


Hugo Martin (Tourbillon Enterprises) wrote:
>>>
>>> c:\> gem install rmagick --include-dependencies
>>
>> Run the above from within bash?
>>
> 
> No, from the windows cmd shell, I only need "if test -n", if I run it 
> within bash I'd have to install all the apps I need again :(


Now I think you're starting to understand. ;-)  If you want to run a
shell script written for a particular shell, you need that shell.  If
that doesn't make sense to you, think of the reverse.  How would
you run a batch script without cmd.exe?

FWIW, if your script only uses shell built-ins, then you only need
to install bash and cygwin packages.  While I don't recommend this
configuration, it should do what you want if your script conforms
to the limitations I just mentioned.


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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



More information about the Cygwin mailing list