From owner-freebsd-arch Fri Apr 7 12:58:11 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 1424937C082 for ; Fri, 7 Apr 2000 12:58:05 -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 WAA25661 for ; Fri, 7 Apr 2000 22:01:40 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id VAA37811 for freebsd-arch@freebsd.org; Fri, 7 Apr 2000 21:58:03 +0200 (CEST) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 1A80237C0D4 for ; Fri, 7 Apr 2000 12:56:28 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id NAA07208; Fri, 7 Apr 2000 13:56:25 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id NAA01762; Fri, 7 Apr 2000 13:55:32 -0600 (MDT) Message-Id: <200004071955.NAA01762@harmony.village.org> To: "Rodney W. Grimes" Subject: Re: Import of tcsh into src/contrib/, replacing src/usr.bin/csh Cc: arch@freebsd.org In-reply-to: Your message of "Fri, 07 Apr 2000 12:49:38 PDT." <200004071949.MAA41256@gndrsh.dnsmgr.net> References: <200004071949.MAA41256@gndrsh.dnsmgr.net> Date: Fri, 07 Apr 2000 13:55:32 -0600 From: Warner Losh 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 :-). Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message