-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsource-aliases
More file actions
108 lines (104 loc) · 1.85 KB
/
source-aliases
File metadata and controls
108 lines (104 loc) · 1.85 KB
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
function def(){
go run . "$1"
}
function defstdin(){
go run . -stdin "$1"
}
function defdebug(){
go run . -debug "$1"
}
function defcar() {
cat <<EOF | tr -d ' ' | tr -d '\n' | defstdin car
[
{
"meta": {
"id": "bar car",
"uuid": "deb2be15-952b-4c0c-92cf-42ca022d046d",
"sort": "020063500",
"src": "collegiate",
"section": "alpha",
"stems": [
"bar car",
"bar cars"
],
"offensive": false
},
"hwi": {
"hw": "bar car"
},
"fl": "noun",
"def": [
{
"sseq": [
[
[
"sense",
{
"dt": [
[
"text",
"{bc}{sx|club car||}"
]
]
}
]
]
]
}
],
"date": "1933",
"shortdef": [
"club car"
]
}
]
EOF
}
function defcar2() {
cat <<EOF | tr -d ' ' | tr -d '\n' | defstdin car
[
{
"meta": {
"id": "car boot sale",
"uuid": "e71ac86e-3c03-4055-87e1-607916d8acd6",
"sort": "3002842000",
"src": "ld",
"section": "idioms",
"stems": [
"car boot sale"
],
"offensive": false
},
"hwi": {
"hw": "car boot sale"
},
"fl": "noun",
"def": [
{
"sls": [
"British"
],
"sseq": [
[
[
"sense",
{
"dt": [
[
"text",
"{bc}a sale in which people gather to sell items that they bring to the sale in their cars"
]
]
}
]
]
]
}
],
"shortdef": [
"a sale in which people gather to sell items that they bring to the sale in their cars"
]
}
]
EOF
}