🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.rt
Article #1571

Re: AIX "csh" silently exits from csh scripts

#1571
From: Steve Dyer
Date: Fri, 24 Feb 1989 19:01
27 lines
1297 bytes
In article <9422@bloom-beacon.MIT.EDU> dyer@arktouros.mit.edu (Steve Dyer) writes:
>Briefly, in attempting to port a large software product whose
>installation scripts use the C-Shell, I'm finding that most of
>them, when running under AIX, just exit without executing any commands.

Just a few more details: we're running AIX 2.2.1, and the problem can
be better described as C-shell scripts invoked by their absolute
pathname work fine, but single component names fail silently.

I.e., if the file /tmp/foo contains
#!/bin/csh
echo foo

and is mode 755, owner root, the following all fail:
cd /tmp
foo
./foo
csh foo

but either of these succeed:

/tmp/foo
csh /tmp/foo
---
Steve Dyer
dyer@arktouros.mit.edu
dyer@spdcc.com aka ...!{harvard,linus,ima,m2c,rayssd}!spdcc!dyer
Technical Details
Message-ID: <9440@bloom-beacon.MIT.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!arktouros!dyer
References: <9422@bloom-beacon.MIT.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!arktouros!dyer
From: dyer@arktouros.MIT.EDU (Steve Dyer)
Newsgroups: comp.sys.ibm.pc.rt
Subject: Re: AIX "csh" silently exits from csh scripts
Message-ID: <9440@bloom-beacon.MIT.EDU>
Date: 24 Feb 89 19:01:14 GMT
References: <9422@bloom-beacon.MIT.EDU>
Sender: daemon@bloom-beacon.MIT.EDU
Reply-To: dyer@arktouros.MIT.EDU (Steve Dyer)
Organization: MIT Project Athena, Cambridge MA 02139
Lines: 27