From owner-freebsd-bugs Wed Aug 9 19:13:06 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id TAA10818 for bugs-outgoing; Wed, 9 Aug 1995 19:13:06 -0700 Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.FreeBSD.org (8.6.11/8.6.6) with SMTP id TAA10812 for ; Wed, 9 Aug 1995 19:13:03 -0700 Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <17803(3)>; Wed, 9 Aug 1995 19:12:23 PDT Received: from localhost by crevenia.parc.xerox.com with SMTP id <177475>; Wed, 9 Aug 1995 19:12:17 -0700 X-Mailer: exmh version 1.6.1 5/23/95 To: terry@cs.weber.edu (Terry Lambert) cc: fenner@parc.xerox.com (Bill Fenner), joerg_wunsch@uriah.heep.sax.de, allynh@avsi.com, freebsd-bugs@freebsd.org Subject: Re: csh bug? In-reply-to: Your message of "Wed, 09 Aug 95 17:57:49 PDT." <9508100057.AA17583@cs.weber.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 9 Aug 1995 19:12:06 PDT From: Bill Fenner Message-Id: <95Aug9.191217pdt.177475@crevenia.parc.xerox.com> Sender: bugs-owner@freebsd.org Precedence: bulk In message <9508100057.AA17583@cs.weber.edu> Terry Lambert writes: >> How, exactly, is "!-2*" violating the man page? > >Your argument selector begins with a '2'. Does everyone need man-page-reading lessons? Come on, folks. My event specification is '-2', as explicitly stated in the man page: With the current event 13 we can refer to previous events by event number `!11', relatively as in `!-2' (referring to the same event) The argument selector follows the event specification: To select words from an event we can follow the event specification by a `:' and a designator for the desired words. And the colon may be omitted for certain special cases: The `:' separating the event specification from the word designator can be omitted if the argument selector begins with a `^', `$', `*' `-' or `%'. I have been using the "!-2*" syntax for years, and was extremely surprised when it didn't work under FreeBSD. Bill