Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: command not found, but it's right there!
- X-seq: zsh-users 978
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: Timothy J Luoma <luomat+zsh@xxxxxxxxxxxxxxx>, zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: command not found, but it's right there!
- Date: Sun, 24 Aug 1997 17:46:52 -0700
- In-reply-to: <199708242335.TAA14532@xxxxxxxxxxxxx>
- References: <199708242335.TAA14532@xxxxxxxxxxxxx>
On Aug 24, 7:35pm, Timothy J Luoma wrote:
} Subject: command not found, but it's right there!
}
} Can someone help me figure out why ZSH is telling me there is no such file?
}
} NOTE: the script in question calls '/usr/local/bin/perl' and
} my system has perl at /usr/bin/perl
Well, that's the reason.
All zsh knows is that the OS returned a no-such-file error code; it does
not know that the reason is because the OS was unable to find the file
named in the #! line. So it prints the file name that it does know --
the name of the perl script -- and the error message from the OS. The
conjunction of the two is unfortunately misleading.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author