linux - Is there a proper defined way to separate command arguments in C? -


for example, consider call:

>routine -h -s name -t "name also" -u 'name well' 

would return 8 arguments or more? there defined standard how parsed? located?

note: not interested in code this, rules or standards apply. not consider reading source code somewhere documentation of standard, assume must reside somewhere.

the shell in use responsible parsing command line , invoking exec*() appropriately. see documentation specific shell in question learn rules, , see source code see how parses command line.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -