From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 20:31:03 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 450AA16A4CE for ; Sun, 20 Feb 2005 20:31:03 +0000 (GMT) Received: from relay.pair.com (relay00.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 8FD6A43D48 for ; Sun, 20 Feb 2005 20:31:02 +0000 (GMT) (envelope-from alejandro@varnet.biz) Received: (qmail 21053 invoked from network); 20 Feb 2005 20:31:01 -0000 Received: from unknown (HELO ale.varnet.bsd) (unknown) by unknown with SMTP; 20 Feb 2005 20:31:01 -0000 X-pair-Authenticated: 200.115.214.206 Date: Sun, 20 Feb 2005 17:31:35 -0300 From: Alejandro Pulver To: Bill Moran Message-ID: <20050220173135.0945692a@ale.varnet.bsd> In-Reply-To: <20050220122001.5af0685e.wmoran@potentialtech.com> References: <20050220135717.27ab6a75@ale.varnet.bsd> <20050220122001.5af0685e.wmoran@potentialtech.com> X-Mailer: Sylpheed-Claws 0.9.12b (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Shell file completion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 20:31:03 -0000 On Sun, 20 Feb 2005 12:20:01 -0500 Bill Moran wrote: > > [Please wrap your lines around 72 chars or so] > I am using Sylpheed-Claws, and it appears to be wrapping at 78 characters. But the option 'Smart Wrapping' was set and is marked as *EXPERIMENTAL*. So I turned it off and change the wrapping to 72 characters. > Alejandro Pulver wrote: > > Hello, > > > > I was learning regular expressions, and I noticed that the shell has > > something similar (but it is different from regular expressions). > > > > When I type 'echo *', it replaces '*' for all the files/dirs not starting > > with a '.' (dot). > > > > I understand the '*' in regular expressions must be preceded by other > > thing to match it. > > > > So it is behaving like the DOS wildcards. > > That's funny. More like "DOS wildcards seem to mimic this". > I agree. > > Where is it documented? > > 'man sh' - the section on "Shell Patterns". > > -- > Bill Moran > Potential Technologies > http://www.potentialtech.com > Thank you. Best Regards, Ale