Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!hao!hplabs!sdcrdcf!sdcsvax!celerity!barto From: barto@celerity.UUCP (David Barto) Newsgroups: net.bugs.4bsd Subject: Csh problem in history expansion Message-ID: <417@celerity.UUCP> Date: Tue, 25-Mar-86 17:17:52 EST Article-I.D.: celerity.417 Posted: Tue Mar 25 17:17:52 1986 Date-Received: Sun, 20-Apr-86 13:30:29 EST Distribution: net Organization: Celerity Computing, San Diego, Ca. Lines: 28 Subject: Csh problem in history expansion Index: bin/csh 4.2BSD (4.3BSD?) Description: When doing history expansion on a builtin command csh will echo the command line. Repeat-By: % while (1) ? echo "hi" ? end ^C % !w ? echo "ho" ? end ^C Notice that the first will echo lines of 'hi' to the terminal while the second echos lines of while ( 1 ) ho to the terminal. -- David Barto, Celerity Computing, San Diego Ca, (619) 271-9940 decvax-\ bang-\ ARPA: celerity!barto@sdcsvax.ARPA ucbvax-->-sdcsvax->!celerity!barto ihnp4--/ akgua-/ "Moderation in all things, including moderation"