回答編集履歴
1
空白に置換
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
```
|
10
10
|
|
11
|
-
sed '/aaa/N;s/\n//' document.txt
|
11
|
+
sed '/aaa/N;s/\n/ /' document.txt
|
12
12
|
|
13
13
|
```
|
14
14
|
|
@@ -20,6 +20,8 @@
|
|
20
20
|
|
21
21
|
```
|
22
22
|
|
23
|
-
sed -i '/aaa/N;s/\n//' document.txt
|
23
|
+
sed -i '/aaa/N;s/\n/ /' document.txt
|
24
24
|
|
25
25
|
```
|
26
|
+
|
27
|
+
|