Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* #!/shellscripts...
@ 1994-07-02 19:50 Lynn D Gabbay
  1994-07-05 12:38 ` #!/shellscripts Dave Parker
  0 siblings, 1 reply; 2+ messages in thread
From: Lynn D Gabbay @ 1994-07-02 19:50 UTC (permalink / raw)


does anyone know if there is a problem with shell scripts for OSF/1 1.3?
what I'm trying to do is write a shell script, where my first line is:

#!/my/path/and/not/usr/local/bin/execute_me -f

now, the problem is, that instead of actually running execute_me, it runs
the default cshell.  this happens only when the path to the execute_me 
is *not* one of the standard bins (ie. /usr/local/bin)

i've done this before on other platforms with no problem... so any ideas?
-L
*******************************************************************************
* Lynn D Gabbay  * Massachusetts Institute of Technology  *  ldgabbay@mit.edu *
*******************************************************************************
 "Yeah, MIT is diverse... some people like Star Trek: The   * H: (617) 494-9660
  Next Generation while others prefer the original series." * O: (617) 253-0726
 "What about DS9?" replies the defensive MIT student        * F: (617) 253-9606


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: #!/shellscripts...
  1994-07-02 19:50 #!/shellscripts Lynn D Gabbay
@ 1994-07-05 12:38 ` Dave Parker
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Parker @ 1994-07-05 12:38 UTC (permalink / raw)


In article <2v4gem$b0v@senator-bedfellow.MIT.EDU>, ldgabbay@mit.edu (Lynn D Gabbay) writes:
|>
|>does anyone know if there is a problem with shell scripts for OSF/1 1.3?
|>what I'm trying to do is write a shell script, where my first line is:
|>
|>#!/my/path/and/not/usr/local/bin/execute_me -f
|>
|>now, the problem is, that instead of actually running execute_me, it runs
|>the default cshell.  this happens only when the path to the execute_me 
|>is *not* one of the standard bins (ie. /usr/local/bin)
|>
|>i've done this before on other platforms with no problem... so any ideas?
|>-L
|>

I don't know for sure the answer to your problem.  Try looking at this, though.

There is a file called /etc/shells which contains a list of the valid shells on
the system.  There is a mna page on this.  I know this list is used for
checking the shell listed in the passwd file.

I'm not convinced that adding you shell to this list will fix the problem, but
it's simple enough to try!

Good luck.

Dave


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-07-05 12:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-07-02 19:50 #!/shellscripts Lynn D Gabbay
1994-07-05 12:38 ` #!/shellscripts Dave Parker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox