Parse command-line arguments: Difference between revisions

m
highlighted the case shown, split the case from it's introduction, used bigger font.
m (→‎{{header|REXX}}: split two long sentences into two lines.)
m (highlighted the case shown, split the case from it's introduction, used bigger font.)
Line 1:
{{draft task|Basic language learning}}
 
[[Command-line arguments]] can be quite complicated, as in: "nc -v -n -z -w 1 192.168.1.2 1-1000".
 
:::: <big> '''nc &nbsp; -v &nbsp; -n &nbsp; -z &nbsp; -w &nbsp; 1 &nbsp; 192.168.1.2 &nbsp; 1-1000''' </big>
 
 
Many languages provide a library (getopt or GetOpt) to parse the raw command line options in an intelligent way.