delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/26/14:01:45

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <BAY107-W138B1C68719F39F979628AC1960@phx.gbl>
From: Steve Richmond <srichman69 AT hotmail DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Cygwin setup on XP/Vista (UNIX/DOS compatibilty question)
Date: Fri, 26 Oct 2007 11:01:19 -0700
In-Reply-To: <46F50A76.7030106@byu.net>
References: <BAY107-W10CF8DAFB3960A14C0012AC1BB0 AT phx DOT gbl> <46F46079 DOT 4050803 AT byu DOT net> <BAY107-W89B048A790C16B12A357DC1B40 AT phx DOT gbl> <46F50A76 DOT 7030106 AT byu DOT net>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l9QI1Y64003471

Is there a standard (read easy) way to bring over files and run D2U on each file?

I just found a tool called RSYNC.  Do you have experience with that?
Why isn't RCP and FTP included in Cygwin?

A cool new network tool would be a RCP that runs D2U as a option.
Does such a tool exist?

Thanks for your help!

> Date: Sat, 22 Sep 2007 06:28:38 -0600
> From: ebb9 AT byu DOT net
> To: srichman69 AT hotmail DOT com; cygwin AT cygwin DOT com
> Subject: Re: Cygwin setup on XP/Vista (UNIX/DOS compatibilty question)
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> http://cygwin.com/acronyms/#PPIOSPE -> redirecting to the list.
>
> According to Steve Richmond on 9/22/2007 12:31 AM:
>>>>> However it behaves differently. After I install it using UNIX, bash scripts
>>>>> fail with '\r' errors, meaning it can't find the CR. So after I re-installed
>>>>> to be DOS compatible for CR/LF, the bash scripts execute successfully, but
>>>>> the resulting .CSV file has a '^M' added to each line. Subsequent
>>>>> manipulation with paste (as an example) fail because of the extra '^M'.
>> In your case, I'd recommend using a binary mount, and bash's igncr option.
>> Oh, and reread the announcements:
>> http://cygwin.com/ml/cygwin-announce/2007-08/msg00014.html
>>
>>> After I reinstalled with the UNIX install option, I logged in and set igncr and
>>> verified with 'set | grep SHELLOPTS'. But grep adds an extra '^M' so
>>> when I do 'paste -d, a.txt b.txt', paste gets confused.
>
> The setup.exe UNIX vs. DOS option only affects new installations. My
> guess is that you have an existing text mount, which setup.exe won't
> change; but to confirm that, you need to follow directions:
>
>> Problem reports: http://cygwin.com/problems.html
>
> and include the output of 'cygcheck -svr' as a text attachment.
>
>>
>>> With the UNIX install option, I still can't run the bash scripts. It'll fail with
>>> those '\r' errors still.
>
> Again, bash only warns about \r errors on binary mounts if you have not
> turned on the igncr option. Of course, the other alternative is to run
> 'd2u' (or the new 'flip') on your scripts so that they no longer have \r.
>
> - --
> Don't work too hard, make some time for fun as well!
>
> Eric Blake ebb9 AT byu DOT net
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Cygwin)
> Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFG9Qp284KuGfSFAYARAorTAJ9EtiET87eZ5k1brfTlKdCucP5lKACfbMJ2
> dGKBWkrkPsxOkrJD7WwdN1c=
> =3Xjv
> -----END PGP SIGNATURE-----

_________________________________________________________________
Peek-a-boo FREE Tricks & Treats for You!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us

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