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
Post a Comment