# complex
severity 609882 wishlist
reassign 609882 command-not-found 0.2.38-1
quit

Russ Allbery wrote:
> Jonathan Nieder <jrnie...@gmail.com> writes:

>> I suppose it could check if the file exists itself, or it could always
>> use a message like "File or interpreter does not exist".
[...]
>                      (Although I'm inclined to agree with the original
> reassignment of the bug: this sort of magic seems like what
> command-not-found is for.)

Yes, agreed.

At least I think that's the right place to experiment.  In the long
run, there's precedent for including this kind of thing in bash, as
Stefano mentioned:

| shell_execve (execute_cmd.c) does check for missing interpretors for
| scripts (with shebangs) but not for ELFs
|
| $ cat > testscript
| #!/bin/foobarbaz
| $ chmod +x testscript 
| $ testscript 
| bash: ./testscript: /bin/foobarbaz: bad interpreter: No such file or directory

Thanks for your thoughtfulness.
Jonathan


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to