Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Apr 2000 14:14:30 -0700 (PDT)
From:      "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>
To:        imp@village.org (Warner Losh)
Cc:        arch@freebsd.org
Subject:   Re: Import of tcsh into src/contrib/, replacing src/usr.bin/csh
Message-ID:  <200004072114.OAA41417@gndrsh.dnsmgr.net>
In-Reply-To: <200004071955.NAA01762@harmony.village.org> from Warner Losh at "Apr 7, 2000 01:55:32 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004072114.OAA41417>