Problem with #!

Randal L. Schwartz merlyn at iwarp.intel.com
Mon Dec 24 12:58:05 AEST 1990


In article <1990Dec23.232842.4354 at virtech.uucp>, cpcahil at virtech (Conor P. Cahill) writes:
| The problem is that the kernel is interpreting the #! and it (the kernel)
| has a fixed limit on the number of bytes (I have seen it as low as 32 bytes).
| 
| The solution is to put expect in a public place with a shorter
| path, or use symbolic links to make the path shorter.

Amazingly enough, symbolic links *won't* help on anything as early as
Ultrix 4.0 (it may be fixed in Ultrix 4.1).  Apparently, the
*expanded* name (what the symlink is linked to) has to also fit within
the 32(!) character limit.  Blech.  SunOS is not so braindamaged...
the 32-char limit applies only to the original text after the #! line.

And why the number has to be so small (like 32 chars) is beyond me.

Just another Unix hacker,
-- 
/=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ==========\
| on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III      |
| merlyn at iwarp.intel.com ...!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn |
\=Cute Quote: "Intel: putting the 'backward' in 'backward compatible'..."====/



More information about the Comp.unix.questions mailing list