NetBSD Problem Report #52591

From www@NetBSD.org  Mon Oct  2 20:41:58 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id C99EC7A104
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  2 Oct 2017 20:41:58 +0000 (UTC)
Message-Id: <20171002204157.DAD9A7A269@mollari.NetBSD.org>
Date: Mon,  2 Oct 2017 20:41:57 +0000 (UTC)
From: coypu@sdf.org
Reply-To: coypu@sdf.org
To: gnats-bugs@NetBSD.org
Subject: Missing interpreter error is confusing
X-Send-Pr-Version: www-1.0

>Number:         52591
>Category:       bin
>Synopsis:       Missing interpreter error is confusing
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 02 20:45:00 +0000 2017
>Originator:     coypu
>Release:        NetBSD 8.99.2
>Organization:
>Environment:
NetBSD localhost 8.99.2 NetBSD 8.99.2 (GENERIC) #1: Fri Sep  1 02:38:58 IDT 2017  fly@loggy:/home/fly/x86/sys/arch/amd64/compile/GENERIC amd64

>Description:
$ echo "#!/non/existent" > test.sh
$ chmod +x test.sh
$ ./test.sh
sh: ./test.sh: not found


it's /non/existent that isn't found
>How-To-Repeat:

>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.