summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/getopt_long/test.ok
blob: 9782087f409aced258ee18e485013ba282310bc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
getopt_long: myfile --force -f infile -9 
option force
option f, arg infile
option 9
remaining ARGV: myfile 

getopt_long: onefile twofile --best -Williterate -i foo.in threefile 
option best
option illiterate
option i, arg foo.in
remaining ARGV: onefile twofile threefile 

getopt_long: -1bfast - 
option 1
option b
option f, arg ast
option -

getopt_long: --fast --drinking=guiness -i foo.in somefile 
option fast
option drinking, arg guiness
option i, arg foo.in
remaining ARGV: somefile 

getopt_long (POSIXLY_CORRECT): myfile --force -f infile -9 
remaining ARGV: myfile --force -f infile -9 

getopt_long (POSIXLY_CORRECT): onefile twofile --best -Williterate -i foo.in threefile 
remaining ARGV: onefile twofile --best -Williterate -i foo.in threefile 

getopt_long (POSIXLY_CORRECT): -1bfast - 
option 1
option b
option f, arg ast
option -

getopt_long (POSIXLY_CORRECT): --fast --drinking=guiness -i foo.in somefile 
option fast
option drinking, arg guiness
option i, arg foo.in
remaining ARGV: somefile 

getopt_long_only: myfile -force -f infile -9 
option force
option f, arg infile
option 9
remaining ARGV: myfile 

getopt_long_only: onefile twofile -best -Williterate -i foo.in threefile 
option best
option illiterate
option i, arg foo.in
remaining ARGV: onefile twofile threefile 

getopt_long_only: -1bfast - 
option 1
option b
option fast
option -

getopt_long_only: --fast -drinking=guiness -i foo.in somefile 
option fast
option drinking, arg guiness
option i, arg foo.in
remaining ARGV: somefile 

getopt_long_only (POSIXLY_CORRECT): myfile -force -f infile -9 
remaining ARGV: myfile -force -f infile -9 

getopt_long_only (POSIXLY_CORRECT): onefile twofile -best -Williterate -i foo.in threefile 
remaining ARGV: onefile twofile -best -Williterate -i foo.in threefile 

getopt_long_only (POSIXLY_CORRECT): -1bfast - 
option 1
option b
option fast
option -

getopt_long_only (POSIXLY_CORRECT): --fast -drinking=guiness -i foo.in somefile 
option fast
option drinking, arg guiness
option i, arg foo.in
remaining ARGV: somefile