From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6c992a721108cc2,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-07-03 04:54:59 PST Path: bga.com!news.sprintlink.net!hookup!swrinde!pipex!sunic!trane.uninett.no!eunet.no!nuug!EU.net!Austria.EU.net!newsfeed.ACO.net!swidir.switch.ch!epflnews!monnier From: monnier@di.epfl.ch (Stefan Monnier) Newsgroups: comp.unix.osf.osf1 Subject: Re: #!#shellscripts... Date: 3 Jul 1994 11:36:13 GMT Organization: Ecole Polytechnique Federale de Lausanne Message-ID: <2v67rd$jq8@info.epfl.ch> References: <2v4gem$b0v@senator-bedfellow.mit.edu> NNTP-Posting-Host: didec4.epfl.ch In article <2v4gem$b0v@senator-bedfellow.mit.edu>, Lynn D Gabbay wrote: > 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) The problem might be with the path itself. There are limitations on several OSes like: - at most one argument (seems correct here) - at most 32 characters (might be a problem, even though it doesn't seem to pose problems in osf/1 2.0 (can't remember if I had trouble with osf/1 1.3)) Of course, I assume all the files have permissions correctly set :-) Stefan