R: How to make cygwin redirect in UNIX mode?

Phil Betts Phil.Betts@ascribe.com
Tue Jun 9 09:48:00 GMT 2009


Christopher Faylor wrote:
> On Tue, Jun 09, 2009 at 10:27:27AM +0800, Pan ruochen wrote:
> >> you installed cygwin in text mode.
> >> So the output is DOS style, to have UNIX output
> >> you need to install in binmode
> >
> >I did get one cygwin distribution which can excute scripts both in
DOS
> >mode and in UNIX mode and output in UNIX mode.  The distribution is
> >released in one install-shield package instead of numbers of gzip
> >packages with a setup program in the traditional way.
> 
> Whoa! Stop right there.  If you got Cygwin from someone else then you
> should go to the source for support.  We don't support other people's
> packages here.  We support the version of Cygwin that you get from the
> Cygwin web site.  Theoretically this should not be too surprising.
> 
> Please don't bother this list with questions about someone else's
> distribution.  Really.  I mean it.

Whoa! Careful with that knee-jerk! [*]

I thought the point was that the "official" install didn't work, but 
that the 3rd party packaged version *did* work (presumably because it's 
using an ancient, line-ending agnostic bash, and has been installed 
with binary mounts)

My advice to the OP would be to reinstall the official release, and 
this time make sure that "Unix/binary (RECOMMENDED)" is selected in the
"Default Text File Type" section in setup.exe.  That version you've 
installed is completely out of date.  As soon as you try to update it,
you're likely to run into far more problems than if you install a
current version and keep it up to date.


[*] just to be clear and avoid offense, that's "knee-jerk" as in the 
reaction, not "knee, jerk" which would have had a completely different 
meaning ;-)

Phil
-- 


This email has been scanned by Ascribe Ltd using Microsoft Antigen for Exchange.

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