1getopt_long: myfile --force -f infile -9 
2option force
3option f, arg infile
4option 9
5remaining ARGV: myfile 
6
7getopt_long: onefile twofile --best -Williterate -i foo.in threefile 
8option best
9option illiterate
10option i, arg foo.in
11remaining ARGV: onefile twofile threefile 
12
13getopt_long: -1bfast - 
14option 1
15option b
16option f, arg ast
17option -
18
19getopt_long: --fast --drinking=guiness -i foo.in somefile 
20option fast
21option drinking, arg guiness
22option i, arg foo.in
23remaining ARGV: somefile 
24
25getopt_long (POSIXLY_CORRECT): myfile --force -f infile -9 
26remaining ARGV: myfile --force -f infile -9 
27
28getopt_long (POSIXLY_CORRECT): onefile twofile --best -Williterate -i foo.in threefile 
29remaining ARGV: onefile twofile --best -Williterate -i foo.in threefile 
30
31getopt_long (POSIXLY_CORRECT): -1bfast - 
32option 1
33option b
34option f, arg ast
35option -
36
37getopt_long (POSIXLY_CORRECT): --fast --drinking=guiness -i foo.in somefile 
38option fast
39option drinking, arg guiness
40option i, arg foo.in
41remaining ARGV: somefile 
42
43getopt_long_only: myfile -force -f infile -9 
44option force
45option f, arg infile
46option 9
47remaining ARGV: myfile 
48
49getopt_long_only: onefile twofile -best -Williterate -i foo.in threefile 
50option best
51option illiterate
52option i, arg foo.in
53remaining ARGV: onefile twofile threefile 
54
55getopt_long_only: -1bfast - 
56option 1
57option b
58option fast
59option -
60
61getopt_long_only: --fast -drinking=guiness -i foo.in somefile 
62option fast
63option drinking, arg guiness
64option i, arg foo.in
65remaining ARGV: somefile 
66
67getopt_long_only (POSIXLY_CORRECT): myfile -force -f infile -9 
68remaining ARGV: myfile -force -f infile -9 
69
70getopt_long_only (POSIXLY_CORRECT): onefile twofile -best -Williterate -i foo.in threefile 
71remaining ARGV: onefile twofile -best -Williterate -i foo.in threefile 
72
73getopt_long_only (POSIXLY_CORRECT): -1bfast - 
74option 1
75option b
76option fast
77option -
78
79getopt_long_only (POSIXLY_CORRECT): --fast -drinking=guiness -i foo.in somefile 
80option fast
81option drinking, arg guiness
82option i, arg foo.in
83remaining ARGV: somefile 
84
85