Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.unix.questions Subject: Re: ":" as a csh command Message-ID: <4864@mimsy.UUCP> Date: Sat, 20-Dec-86 14:42:59 EST Article-I.D.: mimsy.4864 Posted: Sat Dec 20 14:42:59 1986 Date-Received: Sat, 20-Dec-86 22:37:24 EST References: <666@cullvax.UUCP> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 21 In article <666@cullvax.UUCP>, drw@cullvax.UUCP (Dale Worley) writes: >What does the ':' command to csh do? It serves to hold a label. The script foo: echo foo goto foo prints an infinite number of `foo's. Note that this is more or less the inverse of the V6 shell's labels: : foo echo foo goto foo (In the V6 shell, `goto' was a separate program!) -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690) UUCP: seismo!mimsy!chris ARPA/CSNet: chris@mimsy.umd.edu