delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/12/13/00:00:05

From: "Arthur J. O'Dwyer" <ajo AT andrew DOT cmu DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Bug in command-line globbing
Date: Thu, 12 Dec 2002 23:49:06 -0500 (EST)
Organization: Carnegie Mellon, Pittsburgh, PA
Lines: 26
Message-ID: <Pine.GSO.4.44L-027.0212122347190.24437-100000@unix5.andrew.cmu.edu>
NNTP-Posting-Host: smtp6.andrew.cmu.edu
Mime-Version: 1.0
X-Trace: bb3.andrew.cmu.edu 1039754945 601 128.2.10.86 (13 Dec 2002 04:49:05 GMT)
X-Complaints-To: advisor AT andrew DOT cmu DOT edu
NNTP-Posting-Date: 13 Dec 2002 04:49:05 GMT
In-Reply-To: <Xns92E2F1C1AE8A8asu1cornelledu@132.236.56.8>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 13 Dec 2002, A. Sinan Unur wrote:
>
> "Arthur J. O'Dwyer" <ajo AT andrew DOT cmu DOT edu> wrote in
> news:Pine DOT GSO DOT 4 DOT 44L-027 DOT 0212122304010 DOT 23682-100000 AT unix14 DOT andrew DOT cmu DOT edu:
[snipped]
> > it would be nice if globbing worked correctly, so one could invoke a
> > program as
> >
> > % tr -d '*\' *.txt
> >
> > and have it work as expected.  I don't know why I'd want to delete all
> > asterisks and backslashes in all my text files, but it would be nice
> > if it were _possible_.
>
> '*\ seems to work, BTW.

But not in the context of The Request, which is probably why you didn't
mention it the first time.

% test '*\ hello
:*\ hello:

-Arthur,
who has posted a bug report and now just wants a bugfix

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019