delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/12/31/21:21:17

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 6012LGjC1240241
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 6012LGjC1240241
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=hZrYrBYu
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0827E4BA2E06
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1767234076;
bh=J9A82wojWtSW1UegzbCaV/A1s4QqpmDMtSyepVw8WFs=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=hZrYrBYuox2zJHPr7ZhMRGI+3uDm/sDktWfbPDtgEkcEcjX8mZRonLQK9HcPhYYNF
yCUaHiNlrp3TqKoLHxqkkWyzsgcljZ95uDF0SwyYTj7t2ET262kGBMQdU9zXxCOe1C
MWz7d4+Ne0j0n9JZ8EvkByMFgD4dejqa9UG/hNL0=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7962A4BA2E04
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7962A4BA2E04
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1767234056; cv=none;
b=MsxW46UF9Lg9aDWt0I9vMVweKP0LCbggDxxPMJHq3Xht8TcSn98xoxQNu5sttsxF/kyBw4pFVNKWUTkEaxU01nvvfVUL60PPOKa8pmfoj96cxuisStt53jStgE/Nez0X2DBy1BHLKmBkZxdq+L2ySYON6++a69z9Myys4CcuJBQ=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1767234056; c=relaxed/simple;
bh=BY0IW8KsxdAfUkHkDljUvfXbV6neJoY0Z+a/D2XgFAA=;
h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
b=lwU3QFYenKHLp/YwMt1/8EV/FCn5tjr22ouDO+1ZqHxr3XM5KD2MjwPOujYUcR3FNlQLSkiHqOILKt/T4e8t5imgswWhfFwFM7vGjag/uI8Tqw/IqO8GtTkBYQnMwRPKY3r1xegRPMtQOsdgOyhbyaDt1U+OAPzW9HPHQtK7R5U=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7962A4BA2E04
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1767234055; x=1767838855;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=QwNksFu+5I6eIQ6aFmva0kxxDBNXSCXk+07BjzB8ZFY=;
b=QicrFmhgivUe1H4rvfBewflkOcdGH9Wv7IszivR9/eFHF+/WhR0fgOyijU3Ssh7a95
GW1cpzcc8LZ31SxYcA6bNLikaH972DKFU3U/mgDmqn67lWgiyCs8p7edRtiH37qyYhS3
2GHxnNyMxgVmBQ8p29aU87g5skXxeiqafdJwq6rx1HyMfvKzmKpDnIY1oSRUZb+hmzpL
xF2VOLjOF3hG1KRHeaJviDKvAjQpBTEKyx/OjQkrRIBaRGkDrbrCJAH/U0O/3Az7MucY
v8+q3AjcLY6+uIbF0SrwiDbss8sSxHHLbb8kg/84PJMhlyQnj46RECmKsE2x7pxbea9Q
lmrg==
X-Gm-Message-State: AOJu0YwwE/99djBU20wU8bBw/qTtylOC29cHLVciTKNKve91oEvRGsqy
EGtSt6iAr5WX/06zQLkNeIhq44P+ZQt5cPVwD4SvUCfbXdmJe7K+xYcx0LnwZ04km719evjKBJk
FvdSx7ily2tH2qq4uIjJjxKRFNPyXxVYIRXQN
X-Gm-Gg: AY/fxX6uMw8k5IkLtUx5EmmrufUNw0siAIiul8KQjsYd8Y8JeS0MpMJXWioLBzNys+1
JoOELBIaiG0kimQD1iTjelyD1Q5YXubITN3GES1TJHFflLKT28uWG3JexwPMFTaNpy+ZL+1FZ6c
bZSDRXboGwULbjXoTsmqNkqkdSx9fRUyR5ZaT+3gRv90KPUvDpblID4q93TnHqDCNHqeVA+BdoQ
XEp5mjuyp4V28qgybaPJRj5soQ/IdnSNpfDDxmNKKbDE7e7FbG/Kj7IeDm7LKcpinhrdaPSCK/o
8H0=
X-Google-Smtp-Source: AGHT+IFZdTdXniD1J+hqta1LVgONvePULg/dOuBtbn/66sZc/1q9/qrTPrLl9YrPXe0wt0FAZ1Ir3uf7TWuJs35ap+o=
X-Received: by 2002:a05:651c:1a0f:b0:37e:40d7:38ff with SMTP id
38308e7fff4ca-381215aa08dmr101294661fa.19.1767234054520; Wed, 31 Dec 2025
18:20:54 -0800 (PST)
MIME-Version: 1.0
References: <CAGB_HuTgfY9Jw9obziey8HoLevg8+dP64OpM4oMNJkNoddvxzw AT mail DOT gmail DOT com>
<CAJtSMgvvcPhMt8z9p=SfBNs2vyTMqCMs6vv=8yWhjpJ_THnEfw AT mail DOT gmail DOT com>
<CAKwdsS-g_oa3AnraUABvLxN3StdNGF_DYRcHt1hbWfh-oQWkhQ AT mail DOT gmail DOT com>
In-Reply-To: <CAKwdsS-g_oa3AnraUABvLxN3StdNGF_DYRcHt1hbWfh-oQWkhQ@mail.gmail.com>
Date: Wed, 31 Dec 2025 21:20:41 -0500
X-Gm-Features: AQt7F2q8z7_75k4J4psmPjlOn4gtpTWLo2lJIpeDV7_NDiaV3wZHluhua8tggrI
Message-ID: <CAGB_HuROB3G2htJ6TvkJx5M0HXgEL2rbOCReGtU_vKvaeMrk9g@mail.gmail.com>
Subject: Re: Spurious warning generated by bash
To: cygwin AT cygwin DOT com
X-Content-Filtered-By: Mailman/MimeDel 2.1.30
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
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: Soren via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Soren <somian08 AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 6012LGjC1240241

Wow, yes.
Backwoods BC wrote:
> I suspect your source is UTF with a BOM tag.
You are absolutely correct. I opened the script in vim and :set nobomb and
the script now executes properly without the annoying noise. I needed the
bomb for something to do with perl developing (it was a while ago), but
I'll have to remember to set vim up so that it doesn't do that on scripts.

Thank you VERY much and have a Happy New Year.

  - Soren


On Wed, Dec 31, 2025 at 7:59 PM Backwoods BC via Cygwin <cygwin AT cygwin DOT com>
wrote:

> On Wed, Dec 31, 2025 at 1:25 PM David Dyck via Cygwin <cygwin AT cygwin DOT com>
> wrote:
> >
> > On Wed, Dec 31, 2025 at 12:21 PM Soren via Cygwin <cygwin AT cygwin DOT com>
> wrote:
> >
> > >
> > >   ./list2str.sh: line 1: #!/bin/bash: No such file or directory
> > >
> >
> > nice perl script :-)
> > I don't get the warning when the script is run from bash
> > what context did you run the script from?
>
> I suspect your source is UTF with a BOM tag. I created a file with
> this and got your exact results. UTF is OK as long as it doesn't have
> the BOM tag.
>
> --
> 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
>

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