Aucbvax.5136
fa.unix-wizards
utzoo!decvax!ucbvax!unix-wizards
Thu Nov 12 03:49:04 1981
csh
>From dsp.dove@MIT-SPEECH@MIT-AI Thu Nov 12 00:54:19 1981
I have had some problems learning to use it.
1) the line:
"if(a == b)then"
waits for me to type "endif" before continuing at top level.
the line:
"if(a == a)then"
does not.  Why?

2) I have a program grp that is a shell file:
PS1="($1)"$PS1
export PS1
newgrp $1

and my newgrp will not exec a shell if it fails it just exits
(so it will log you out if invoked directly on an illegal group).
This scheme allows me to see my current group.  Since csh seems not
to do anything useful with the sh environment variables (why not
initialize prompt to PS1 if it exists???) I can't find any way to do this.

3)  I have had many problems with complicated and or expressions not working.

This is all on the 2.8bsd csh.

Are these not present on the 4.1bsd csh or are they fixable?
-------

-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <[email protected]>
of http://communication.ucsd.edu/A-News/


This Usenet Oldnews Archive
article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.