From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by archone.tamu.edu via suspension id <19004>; Thu, 12 Dec 1991 10:03:51 -0600 Received: by archone.tamu.edu id <18904>; Thu, 12 Dec 1991 09:49:17 -0600 From: Byron Rakitzis To: rc Subject: Re: improving "~" builtin ?! Message-Id: <91Dec12.094917cst.18904@archone.tamu.edu> Date: Thu, 12 Dec 1991 09:49:04 -0600 The nice thing about rc pattern matching is that it is (with the exception of files beginning with '.', of course) identical to the filename expansion rules. In fact, the matching is implemented by the same subroutine! Even if it is difficult to express the "strncmp" concept with the ~ builtin, I think it would be a mistake to twist the meaning of ~ to fit this requirement.