Re: Spurious warning generated by bash

David Dyck via Cygwin <[email protected]>
Newsgroups gmane.os.cygwin
Message-ID <CAJtSMgvvcPhMt8z9p=SfBNs2vyTMqCMs6vv=8yWhjpJ_THnEfw@mail.gmail.com>
On Wed, Dec 31, 2025 at 12:21 PM Soren via Cygwin <[email protected]> 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?

-- 
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.