Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Better error for windows line endings in the shebang #2783

Copy link
Copy link

Description

@brenogil
Issue body actions

I have recently switched to fish and I have been trying to run some .sh scripts.
Usually I have no problem but for one particular script I get the error below.

Observed behavior:

Failed to execute process './alt_script.sh'. Reason:
', which is not an executable command.he interpreter '/bin/sh

I believe at least the message could be improved, if nothing else.

Other comments:

I have tried playing with different shebangs:

!/bin/sh

!/bin/bash

!/usr/local/bin/fish


Fish version: fish, version 2.2.0

Operating system: OSX 10.10.5 - Homebrew

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.