home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!minyos.xx.rmit.oz.au!s902113
- From: s902113@minyos.xx.rmit.oz.au (Luke Mewburn)
- Subject: testing if running shell script in {t}csh
- Organization: RMIT Computer Centre, Melbourne Australia.
- Date: Wed, 19 Aug 1992 02:15:23 EST
- Message-ID: <1992Aug19.021523.904@minyos.xx.rmit.oz.au>
- Lines: 23
-
-
- What is a good reliable method of testing if you are not running as a
- user shell (i.e, as a script).
-
- Now, don't tell me about the existance of $prompt. This is no good if
- the prompt is setup in /etc/csh.cshrc (or whatever), which I have no
- control over whatsoever....
-
-
- Thanx in advance
-
- Luke.
- --
-
- "...(and) We've heard how teen prostitution, pregnancy, Luke Mewburn
- drug use, cults, runaways, suicide and poor hygiene are s902113@
- sweeping this nation. We thought you might like to share minyos.
- with the committee any particular *causes* you might see xx.
- for those latter problems..." rmit.
- " I dunno, Maybe the proliferation of narrow, suffocating oz.
- zealotry masquerading as parenting in this country." au
- Steve Dallas, 'Bloom County'.
-
-