[fpc-pascal] Parsing commandline parameters with wildcards on Linux
David W Noon
david.w.noon at ntlworld.com
Sun Apr 10 13:45:08 CEST 2011
On Sun, 10 Apr 2011 11:50:56 +0200 (CEST), Michael Van Canneyt wrote
about Re: [fpc-pascal] Parsing commandline parameters with wildcards on
>On Sun, 10 Apr 2011, Bart wrote:
>> 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.
A program can open /proc/self/cmdline as a text file, and retrieve its
command line to re-parse it for itself.
Dave [RLU #314465]
david.w.noon at ntlworld.com (David W Noon)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: not available
More information about the fpc-pascal