perl substitution question

Gary Kline kline at tao.thought.org
Mon Jan 15 22:29:39 UTC 2007


On Tue, Jan 16, 2007 at 12:04:23AM +0200, Giorgos Keramidas wrote:
> On 2007-01-15 10:21, Chuck Swiger <cswiger at mac.com> wrote:
> > On Jan 14, 2007, at 1:44 PM, Gary Kline wrote:
> > >	Man!  truer words, (&c)... .  One o the very few suggestions
> > >	left for improving shells [ and/or subshells ] is a flag,
> > >	say '-N' which would have *nothing* to be escaped.  In other
> > >	words a '$' or '"' would be interpreted literally.    But I'm
> > >	sure there are reasons for not escaping some bytes.
> >
> > ZSH has the "noglob" keyword which can be quite useful...
> 
> OMG!  I managed to break a new shell war :)
> 
> /me ducks and runs very far away
> 

	No! no, cometh backeth, Giorgos!  No war, just peace, love
	anf flowers:-)   Actually, I do use zsh, just have no clue how to
	set noglob.  I was going to ask, but didn't want to show my
	ignorance.  [[ been using zsh for 16, 17 years... ]]

	Anyway, NOT to get into any kind of war--there being enuf
	stupidity in the world--but I'm thinking of having essentially
	a bare-threaded program loader.  A trivial shell (tsh?) that 
	does little more than take any ISO.8859-[1-2] character and 
	do a fork-exec.  Even "[" which is really /usr/bin/test, 
	would be sucked in as a plain "[".   I do a  lot of regex
	stuff that meaning finding obscure patterns in text files or
	marked-up files.  I've got the regex book and a cheatsheet
	several K lines long.  (****)

	Chuck, exactly what does noglob do? How to set/unset,  please?

	gary


-- 
  Gary Kline  kline at thought.org   www.thought.org  Public Service Unix



More information about the freebsd-questions mailing list