From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from archone.tamu.edu ([128.194.53.42]) by hawkwind.utcs.toronto.edu with SMTP id <2624>; Sun, 28 Jun 1992 19:35:06 -0400 Received: from groucho.cs.psu.edu ([130.203.2.10]) by archone.tamu.edu with SMTP id <45316>; Sun, 28 Jun 1992 18:34:45 -0500 Received: from localhost by groucho.cs.psu.edu with SMTP id <2538>; Sun, 28 Jun 1992 19:34:00 -0400 To: rc@archone.tamu.edu Subject: "whatis" fails to preserve read/write invariance Date: Sun, 28 Jun 1992 19:33:36 -0400 From: Scott Schwartz Message-Id: <92Jun28.193400edt.2538@groucho.cs.psu.edu> The great thing about lisp is that read and write are complementary. Rc is pretty good about that, but not perfect. Consider this: ; touch 'x=foo' ; chmod +x 'x=foo' ; './x'=foo ; whatis './x' ./x=foo ; whatis './x=foo' ./x=foo Tricked! In lisp the equals sign in the filename would have been quoted, like the metacharacter it is. In rc there is no user level read primative, so you can't do that.