Date: Wed, 9 Aug 1995 19:12:06 PDT From: Bill Fenner <fenner@parc.xerox.com> 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? Message-ID: <95Aug9.191217pdt.177475@crevenia.parc.xerox.com> In-Reply-To: Your message of "Wed, 09 Aug 95 17:57:49 PDT." <9508100057.AA17583@cs.weber.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?95Aug9.191217pdt.177475>