🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.unix.shell
1 messages
1 total messages Started by Jerry Natowitz Wed, 24 Oct 1990 13:23
Embedded if/endif in while/end doesn't work in csh
#1605
Author: Jerry Natowitz
Date: Wed, 24 Oct 1990 13:23
15 lines
951 bytes
I have been going crazy with what is either a bug, or an undocumented
feature of csh.  I can not embedd an if/endif with a while/end
(or foreach/end) or vice-versa.  It seems as if csh is interpreting
the endif as an end (or vice-versa).

I vaguely recall some discussion of having to use two end statements
in some csh context, is this related?

BTW: I have demonstrated this both on Epoch running BSD 4.3 and on
SunOS 4.0.3
-- 
     Jerry Natowitz
     Guest user on:
ARPA jin@ursa-major.spdcc.com
UUCP {ima,harvard,rayssd,linus,m2c}!spdcc!jin
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads