Subject: Re: a suggestion for improving shell behaviour....
To: NetBSD Userlevel Technical Discussion List <email@example.com>
From: SAVE MY WALRUS <firstname.lastname@example.org>
Date: 02/18/1999 17:17:00
Greg A. Woods sez:
* As no doubt most everyone on this list knows, most Unix shells will try
* to run a "program" as a script if the kernel refuses to exec() it as a
starwolf% file /tmp/cat
/tmp/cat: PA-RISC1.0 shared executable dynamically linked
starwolf% ls -l /tmp/cat
-r-xr-xr-x 1 greywolf wheel 16384 Feb 18 17:11 /tmp/cat
/tmp/cat: Exec format error. Wrong Architecture.
starwolf% echo $shell
So what's the problem? I'm using a NetBSD shell. :-)
[sounds like sh/bash/ksh need csh's exec smarts. don't shoot me.]
"Your chief has even inscribed his name on the sole of my boot."