[comp.unix.questions] Problems with #!

frechett@boulder.Colorado.EDU (-=Runaway Daemon=-) (12/24/90)

Thanks for the responces to this question.  I have gotten many many 
responces from people who don't know what the real cause is so I 
thought that I had better post a note explaining why I have a problem.

Originally, I said that I could get this line to work.
#!/tmp/.../expect -f
but not
#!/users/en-eecs/huangc/.../expect -f

The reason is simple.  ULTRIX is screwed.  It will not allow the use of
a line longer than 32 chars from beggining to end (including arguments)
and as you can see, that line is 37 chars long.  This is apparently
a bug rooted in the kernel and there really is no good workaround
especially for "expect".  In my case I believe I can pick up the 
needed room if I move expect to ~huangc/exp  which should give
me enough room for a couple flags too.  

Oh, and I heard that some Sun OSs have this problem too.  

Thanks for the help.

	ian
--

-=Runaway Daemon=-