From owner-freebsd-questions@FreeBSD.ORG Mon Jan 15 22:29:39 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 95B3316A417 for ; Mon, 15 Jan 2007 22:29:39 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id E1EEA13C455 for ; Mon, 15 Jan 2007 22:29:38 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id l0FMTVkC039265; Mon, 15 Jan 2007 14:29:31 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id l0FMTQNN039264; Mon, 15 Jan 2007 14:29:26 -0800 (PST) (envelope-from kline) Date: Mon, 15 Jan 2007 14:29:26 -0800 From: Gary Kline To: Giorgos Keramidas Message-ID: <20070115222925.GA39166@thought.org> References: <20070114024551.GA21847@thought.org> <20070114034148.GC2734@kobe.laptop> <20070114201546.GA28048@thought.org> <20070114203104.GB3404@kobe.laptop> <20070114214410.GB24039@thought.org> <20070115220422.GA2250@kobe.laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070115220422.GA2250@kobe.laptop> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Gary Kline , freebsd-questions@freebsd.org Subject: Re: perl substitution question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jan 2007 22:29:39 -0000 On Tue, Jan 16, 2007 at 12:04:23AM +0200, Giorgos Keramidas wrote: > On 2007-01-15 10:21, Chuck Swiger 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@thought.org www.thought.org Public Service Unix