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
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
> >
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
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
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
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
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,
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
>> 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:
9 matches
Mail list logo