From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from stolaf.edu ([130.71.128.8]) by hawkwind.utcs.toronto.edu with SMTP id <2706>; Wed, 3 Jun 1992 17:35:41 -0400 Received: from mari.acc.stolaf.edu by stolaf.edu (4.1/SMI-4.1) id AA26086; Wed, 3 Jun 92 16:35:26 CDT Date: Wed, 3 Jun 1992 17:35:26 -0400 From: quanstro@stolaf.edu (Erik Quanstrom) Message-Id: <9206032135.AA26086@stolaf.edu> Received: by mari.acc.stolaf.edu (4.1/SMI-4.1) id AA00369; Wed, 3 Jun 92 16:35:24 CDT To: rc@hawkwind.utcs.toronto.edu Subject: glomming and variable woerdness When rc scans the line echo $a* the star is part of the variable name, so 'a*' is looked up and printed out, for example ; 'a*' = fu ; echo $a* ; fu However, when rc scans the line echo $a ^ * it finds (well, sometimes) a to be the empty string, concatinates that with * and then globs that string. This string is just '*' so printing out all the files in the directory is what rc should do.