delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/06/26/19:59:49

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7AA62385840D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1687823948;
bh=yPRVySn0nY8KemOiom65eDYIwGCePnq1WC4bKBYmUBM=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=HLdgq+FIRCNeQn2AuP6h0oUruh+v5M4q58etD8S8kOydimwfnWFJRsrG0vn1ebJ32
M6dpZFoufJ0+V53LPZmRKsRPPyjfsuKf/KNv/K8tvxHaQ8PT81QLNQN/wHkDXeQz3d
vU12EhY+c7HsnP77SI5E5z37A3EWEV9z+Lk9tnrw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E7EA13858D20
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
t=1687823930; bh=ji+abhbpcbA13EiruLaDno6AH0pSEl/XF4F/Z0BpH0j=;
h=X-Sonic-MF:Date:Subject:To:From:From:Subject;
b=TZq2nZHo0+Vs7icU1AbcZ6H5AWWGM1AyoLzOqxjtwsPHsxmT8/gsM0Ov84xTLBKyQNjke4iuvbB6JoVgEiTnMBVEeDxCC9iEM86W2bSGCd+NoIv19m6u4e4cYn5R1R85ydVcwEgpvlgLQ5uFp1sGlD6CNwlgv9dkpxPEp4jwnj0sMq9+T31NwWxTGc2hLOx15TDNvBIRqgURokkmM39NzSE8ybSqGtiRCY82aJcNKtNoqfnNi+HB/DwxDC7VSrn2mXOubIOneh2E2VD0p156GAdS3C/xGs8xVrDCc1LSUacin3S4DNRzDlxm1c7WLS2SdfSbDQFZY6nZdEbF7Pr+2Q==
X-YMail-OSG: A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gUkhlwYWxl5dDDzeo6tFwqRPoNp5Gn53eUHVujIYtOfqNpxY_hk5DjNIVTuFYJ.cCIHn
VvY1d0RxjnjLwyldylpX9cdtB.S80p5QTb6EQ58KvJiPp8zJgHx2TLXV4UHz.5aND8zE2LXEWA34
SPXhO
X-Sonic-MF: <dan_harkless AT yahoo DOT com>
X-Sonic-ID: 2d028922-2fb9-48aa-8048-ca49c589e009
Message-ID: <0e66e09e-f921-2bf0-7c6f-126dfb73a4e4@harkless.org>
Date: Mon, 26 Jun 2023 16:58:43 -0700
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Subject: Re: Another confusing error from someone else's Cygwin setup
To: cygwin AT cygwin DOT com
References: <CAA5t8VrR9yD3LS8AyRWD9O5J6gDbrfdbaWSUrjzwjYu30Umkiw AT mail DOT gmail DOT com>
In-Reply-To: <CAA5t8VrR9yD3LS8AyRWD9O5J6gDbrfdbaWSUrjzwjYu30Umkiw@mail.gmail.com>
X-Mailer: WebService/1.1.21557
mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_EF, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,
HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A, RCVD_IN_DNSWL_NONE,
RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Dan Harkless via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Dan Harkless <cygwin-list21 AT harkless DOT org>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 35QNxVP1018199

On 6/26/2023 4:35 PM, David Karr via Cygwin wrote:

> > He was getting a weird error on line 3, just saying this:
> > ---------------------
> > ...: line 3: syntax error near unexpected token `$'{\r''
> > ...: line 3: `main() {
> > ---------------

Apologies, I don't remember your other report, but this one kind of
sounds like an end-of-line characters problem.  Try installing
(Cygwin's) dos2unix, if you don't already have it, then try running
dos2unix on the script.  If it still doesn't work, try then running
unix2dos.  If you have binutils installed, you can also use the 'file'
command for a quick report on whether files have lines terminated with
CR (macOS), CRLF (Windows), or LF (UNIX/Linux).  'file' might not
realize when you have files with inconsistent line-terminators, though.

--
Dan Harkless
http://harkless.org/dan/


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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