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,

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

'bat' for cygwin

2023-03-10 Thread Scott Smith via Cygwin
Marco, Well, that's disappointing; however, it's not an essential for my project. While bat is nicer, cat will suffice. I will add a presence test to use bat when it exists and fall back to cat. The few cygwin instances I have will just have to be jealous of their linux counterparts! Thank you

'bat' for cygwin

2023-03-10 Thread Scott Smith via Cygwin
Has anyone compiled bat for cygwin64? If not, could it be added for consideration to be added to the repository, please? Meanwhile, although I know 0% about Rust, if someone can tell me how to install Rust, then I could take a shot at compiling it myself. Thanks -- Problem reports: https: