comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: Ada.Command_Line.Argument_Count question
Date: Fri, 25 Sep 2009 08:25:11 -0400
Date: 2009-09-25T08:25:11-04:00	[thread overview]
Message-ID: <ud45fciu0.fsf@stephe-leake.org> (raw)
In-Reply-To: 9c6b23c3-a1ab-4f73-a46f-2b0e2644d713@j9g2000prh.googlegroups.com

Adam Beneschan <adam@irvine.com> writes:

> 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".  

That flag exists, but it's a shell feature, of course, since you are
telling the shell to not do something. It's called "quotes".

> Then you could actually write a command of the sort that exists on
> other OS's:
>
>    rename *.ada *.adb

rename "*.ada *.adb"

or 

rename "*.ada" "*.adb"

-- 
-- Stephe



  reply	other threads:[~2009-09-25 12:25 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
2009-09-25 12:25                   ` Stephen Leake [this message]
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