[fpc-pascal] Parsing commandline parameters with wildcards on Linux

Michael Van Canneyt michael at freepascal.org
Sun Apr 10 11:50:56 CEST 2011



On Sun, 10 Apr 2011, Bart wrote:

> Hi all,
>
> I ran into a problem with resolving commandline parameters, due to
> wildcard expansion by bash.
>
[snip]
>
> Obviously this is a common scenario on Linux, so how to treat it?
>
> I would prefer to expand the wildcards by myself, but it seems I have
> no access to what the user actually typed on the commandline?

You cannot access that. If you want the wildcards, the user must escape them himself.

Michael.



More information about the fpc-pascal mailing list