comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Beneschan <adam@irvine.com>
Subject: Re: Ada.Command_Line.Argument_Count question
Date: Wed, 23 Sep 2009 18:11:03 -0700 (PDT)
Date: 2009-09-23T18:11:03-07:00	[thread overview]
Message-ID: <9c6b23c3-a1ab-4f73-a46f-2b0e2644d713@j9g2000prh.googlegroups.com> (raw)
In-Reply-To: 7hvsv8F2vbk5mU1@mid.individual.net

On Sep 23, 5:31 pm, Björn Persson <bj...@xn--rombobjrn-67a.se> wrote:

> You might argue that programs that have their own pattern matching features
> should use a different set of special characters to distinguish the patterns
> from those that the shell expands, but that's a bad idea in my opinion.
> Having multiple different syntaxes makes it hard to remember when to use
> which syntax.

Multiple syntaxes is a bad idea, but I've always wanted a way to add a
flag to certain executables to tell the shell "don't expand wildcards
when running this executable".  Then you could actually write a
command of the sort that exists on other OS's:

   rename *.ada *.adb

(The shell wouldn't expand either parameter.  The "rename" program
would be responsible for searching for files that matched the first
parameter.  Ideally, this would be accomplished by a library routine
that the shell also uses when it does expand.)

                                    -- Adam



  reply	other threads:[~2009-09-24  1:11 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-15 20:58 Ada.Command_Line.Argument_Count question 
2009-09-15 21:37 ` Gautier write-only
2009-09-16  6:21   ` 
2009-09-16 18:43   ` Keith Thompson
2009-09-22 19:52     ` Gautier write-only
2009-09-22 20:00       ` Hyman Rosen
2009-09-23  0:20         ` Gautier write-only
2009-09-23  1:07           ` Adam Beneschan
2009-09-23 13:03             ` Hyman Rosen
2009-09-23 16:06             ` Gautier write-only
2009-09-24  0:31               ` Björn Persson
2009-09-24  1:11                 ` Adam Beneschan [this message]
2009-09-25 12:25                   ` Stephen Leake
2009-09-15 21:55 ` Adam Beneschan
2009-09-16  6:20   ` 
2009-09-16 10:41 ` Jeffrey R. Carter
2009-09-17 13:50 ` John McCabe
2009-09-18  5:12   ` sjw
2009-09-18 15:03     ` John McCabe
2009-09-18 22:16       ` Robert A Duff
2009-09-21 15:09         ` John McCabe
2009-09-21 15:17           ` Dmitry A. Kazakov
2009-09-21 19:44           ` sjw
2009-09-22 11:01             ` John McCabe
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox