回答編集履歴
1
1
test
CHANGED
@@ -12,9 +12,11 @@
|
|
12
12
|
|
13
13
|
OFS = "\t"
|
14
14
|
|
15
|
+
getline
|
16
|
+
|
17
|
+
print $0,"key"
|
18
|
+
|
15
19
|
}
|
16
|
-
|
17
|
-
NR==1{print $0,"key"}
|
18
20
|
|
19
21
|
```
|
20
22
|
|
@@ -36,7 +38,7 @@
|
|
36
38
|
|
37
39
|
sed 's/key/`cut -f 1 regex.txt | xargs | tr " " "\t"`/' awk1.tpl >hoge.awk
|
38
40
|
|
39
|
-
echo '
|
41
|
+
echo '{' >>hoge.awk
|
40
42
|
|
41
43
|
echo ' line = $0' >>hoge.awk
|
42
44
|
|