[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: message upon not finding the file
From: |
Chris F.A. Johnson |
Subject: |
Re: message upon not finding the file |
Date: |
Fri, 23 Jan 2004 21:45:33 -0500 (EST) |
On Sat, 24 Jan 2004, Dan Jacobson wrote:
> perl doesn't say "perl:"
> $ perl a
> Can't open perl script "a": No such file or directory
You can't remember what you typed on the previous line? :)
Besides, what else would be looking for a "perl script"?
> bash doesn't say "bash", and says 'a' twice:
> $ bash a
> a: a: No such file or directory
But if you didn't specify bash, it will tell you:
$ a
bash: a: command not found
> Both make it tough to figure out where the message came from, when
> seen amongst other messages.
>
> Only grep gets it right
> $ grep x a
> grep: a: No such file or directory
--
Chris F.A. Johnson
=================================================================
cfaj@freeshell.org http://cfaj.freeshell.org