Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!rutgers!husc6!linus!philabs!hhb!kosman!kevin From: kevin@kosman.UUCP (Kevin O'Gorman) Newsgroups: comp.unix.questions Subject: Why does this shell program run under csh???? Message-ID: <243@kosman.UUCP> Date: Fri, 29-May-87 20:26:27 EDT Article-I.D.: kosman.243 Posted: Fri May 29 20:26:27 1987 Date-Received: Wed, 3-Jun-87 00:41:08 EDT Organization: K.O.'s Manor - Anarm Software Systems, Hillsdale, NJ Lines: 22 I am running Ultrix 1.2A (a Berkely type thing) and have written two shell programs: /etc/daily /etc/monthly for backup purposes. The odd thing is that they are almost identical, the exceptions being one argument to dump(8) and some commentary. They have the same owner, group, and permissions. What's odd is that there's a read command which works in one (daily) and fails in the other (monthly), with a message something like read: not found which makes me think that daily runs under /bin/sh (which has 'read' builtin), and that monthly runs under /bin/csh (which gives the exact same error message). Problem is, I cannot figure out any reason for the difference. Is there some secret I'm bumping into, and just haven't seen the documentation on it yet? HELP - confusion makes me grumpy -- Kevin O'Gorman ...{decvax,allegra}!philabs!hhb!kosman!kevin