Re: bash shell script: recently running, now failing

2023-04-06 Thread Corinna Vinschen via Cygwin
On Apr 6 04:43, Fergus Daly via Cygwin wrote: > I have a "hash bang" bash shell script i.e. first line > #! /bin/sh > or equivalently > #! /bin/bash > For various reasons I want this file to be identified as binary so its second > line > is the single character null \x00 showing up in some editor

Re: bash shell script: recently running, now failing

2023-04-06 Thread Scott Smith via Cygwin
Place the nul on the third line. For example: #!/bin/bash # # ^@ identify as a binary file ... On Thu, Apr 6, 2023 at 4:03 AM Corinna Vinschen via Cygwin < cygwin@cygwin.com> wrote: > On Apr 6 04:43, Fergus Daly via Cygwin wrote: > > I have a "hash bang" bash shell script i.e. first line > >

Re: bash shell script: recently running, now failing

2023-04-06 Thread Andrey Repin via Cygwin
Greetings, Fergus Daly! > I have a "hash bang" bash shell script i.e. first line > #! /bin/sh > or equivalently > #! /bin/bash By default, sh is bash in base Cygwin installation. > Q3 - at 1/8 the size of bash and sh, I am not at all sure of the role and > reach of dash. > Should the edit (dash

[ANNOUNCEMENT] unison 2.53.2-1

2023-04-06 Thread Andrew Schulman via Cygwin-announce via Cygwin
unison 2.53.2-1 is now available in Cygwin. This is a new upstream release, with new features and bug fixes. See the upstream release log[1] for details. Unison is a file synchronizer for Unix and Windows. It allows two replicas of a collection of files and directories to be stored on different ho

[ANNOUNCEMENT] libhtp 0.5.42

2023-04-06 Thread Daisuke Fujimura via Cygwin-announce via Cygwin
The following packages have been uploaded to the Cygwin distribution: * libhtp2 * libhtp-devel LibHTP is a security-aware parser for the HTTP protocol and the related bits and pieces. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documen

Re: bash shell script: recently running, now failing

2023-04-06 Thread Adam Dinwoodie via Cygwin
On Thu, Apr 06, 2023 at 04:43:51AM +, Fergus Daly via Cygwin wrote: > I have a "hash bang" bash shell script i.e. first line > #! /bin/sh > or equivalently > #! /bin/bash > For various reasons I want this file to be identified as binary so its second > line > is the single character null \x00

Re: bash shell script: recently running, now failing

2023-04-06 Thread Scott Smith via Cygwin
Coming from an enterprise and supercomputing background, we were able to control what shell was available, so bashisms weren't a problem any more than dashisms, fishisms, kornisms, perl or python versionisms, etc, might be. But, when I was in a commercial environment, everything - shell, perl, C,

Error running setup-x86_64.exe: syntax error in setup.zst

2023-04-06 Thread Keith Thompson via Cygwin
Running setup-x86_64.exe on a Windows 10 laptop, I get this error message: https://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.zst line 30182: syntax error, unexpected $undefined, expecting COMMA or NL https://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.zst line 30182: unrecognized lin

Re: Error running setup-x86_64.exe: syntax error in setup.zst

2023-04-06 Thread Fergus Daly via Cygwin
>> I'm concerned that the bad setup.zst might propagate to other mirrors. Yes, identical error arising at https://cygwin.mirror.uk.sargasso.net/x86_64/setup.zst and elsewhere. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: