Re: Ada.Command_Line.Argument_Count question
- From: Stephen Leake <stephen_leake@xxxxxxxxxxxxxxxx>
- Date: Fri, 25 Sep 2009 08:25:11 -0400
Adam Beneschan <adam@xxxxxxxxxx> writes:
On Sep 23, 5:31 pm, Björn Persson <bj...@xxxxxxxxxxxxxxxxxxxx> 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
.
- References:
- Ada.Command_Line.Argument_Count question
- From: Thomas Løcke
- Re: Ada.Command_Line.Argument_Count question
- From: Gautier write-only
- Re: Ada.Command_Line.Argument_Count question
- From: Keith Thompson
- Re: Ada.Command_Line.Argument_Count question
- From: Gautier write-only
- Re: Ada.Command_Line.Argument_Count question
- From: Hyman Rosen
- Re: Ada.Command_Line.Argument_Count question
- From: Gautier write-only
- Re: Ada.Command_Line.Argument_Count question
- From: Adam Beneschan
- Re: Ada.Command_Line.Argument_Count question
- From: Gautier write-only
- Re: Ada.Command_Line.Argument_Count question
- From: Björn Persson
- Re: Ada.Command_Line.Argument_Count question
- From: Adam Beneschan
- Ada.Command_Line.Argument_Count question
- Prev by Date: Re: Barrier re-evaluation issue with GNAT 4.3.2
- Next by Date: Re: Barrier re-evaluation issue with GNAT 4.3.2
- Previous by thread: Re: Ada.Command_Line.Argument_Count question
- Next by thread: Re: Ada.Command_Line.Argument_Count question
- Index(es):
Relevant Pages
|
Loading