blob: 1c2e6c8ba338d77aad508b0f627398646be528de (
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
85
|
1:
./cppawk 'BEGIN { print "hello" }'
:
hello
--
2:
./cppawk -M 'BEGIN { print 1000000000000000000000000 + 1 }'
:
1000000000000000000000001
--
3:
./cppawk -f
:
ERR
--
4:
./cppawk -f x -f x
:
ERR
--
5:
./cppawk -MM 1
:
ERR
--
6:
./cppawk -F
:
ERR
--
7:
./cppawk -v
:
ERR
--
8:
./cppawk -E
:
ERR
--
9:
./cppawk -i
:
ERR
--
10:
./cppawk -l
:
ERR
--
11:
./cppawk -L
:
ERR
--
12:
./cppawk
:
ERR
--
13:
./cppawk '
#define min(a,b) ((a) < (b) ? (a) : (b))
{ print min($1, $2) }' <<!
1 2
2 1
3 2
:
1
1
2
--
14:
./cppawk -Itestdir '
#include "header.cwh"
BEGIN { print max(42, 73) }'
:
73
--
15:
./cppawk -iquotetestdir '
#include "header.cwh"
BEGIN { print max(42, 73) }'
:
73
|