From owner-freebsd-arch Fri Apr 7 14:15:46 2000 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id 7D37437BB0D for ; Fri, 7 Apr 2000 14:15:21 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id XAA26283 for ; Fri, 7 Apr 2000 23:18:53 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id XAA37958 for freebsd-arch@freebsd.org; Fri, 7 Apr 2000 23:15:15 +0200 (CEST) Received: from gndrsh.dnsmgr.net (GndRsh.dnsmgr.net [198.145.92.4]) by hub.freebsd.org (Postfix) with ESMTP id A2B4337C18E for ; Fri, 7 Apr 2000 14:14:39 -0700 (PDT) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.9.3/8.9.3) id OAA41417; Fri, 7 Apr 2000 14:14:31 -0700 (PDT) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <200004072114.OAA41417@gndrsh.dnsmgr.net> Subject: Re: Import of tcsh into src/contrib/, replacing src/usr.bin/csh In-Reply-To: <200004071955.NAA01762@harmony.village.org> from Warner Losh at "Apr 7, 2000 01:55:32 pm" To: imp@village.org (Warner Losh) Date: Fri, 7 Apr 2000 14:14:30 -0700 (PDT) Cc: arch@freebsd.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > In message <200004071949.MAA41256@gndrsh.dnsmgr.net> "Rodney W. Grimes" writes: > : The context goes into the history list, you don't have to worry the !! > : and !!:2-$ as they do not re-evaluate the regex, the pull the values stored > : in the history buffers. > > They pull the regex out of the history buffer, which no longer match > the files that have just been removed: > > % touch 1 2 3 4 5 6 > % rm [1-6] > % echo !$ > echo [1-6] > echo: No match. > % > > : You can always get the list back... think for a minute, Do a few ``h'''s > : and look, then think some more about your ``context'' situation above. > > But the expansion of the regex isn't in the buffer. That's why I > needed the {}'s. Those exand w/o reguard to files matching them. > > : Oh... and you can stop by and borrow my nice new shinny orange > : cone to protect your head with :-) > > Nah, you keep it :-). I have even placed it on my head for you <:)... -- Rod Grimes - KD7CAX @ CN85sl - (RWG25) rgrimes@gndrsh.dnsmgr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message