回答編集履歴
3
少し追記
test
CHANGED
@@ -7,3 +7,5 @@
|
|
7
7
|
sed -r 's/^(APPLE_JUICE.*)=.*$/\1=0/g'
|
8
8
|
|
9
9
|
```
|
10
|
+
|
11
|
+
(なお、入出力部分は適宜設定が必要です)
|
2
条件に合わせて修正
test
CHANGED
@@ -4,6 +4,6 @@
|
|
4
4
|
|
5
5
|
```
|
6
6
|
|
7
|
-
sed -r 's/^APPLE_JUICE.*=.
|
7
|
+
sed -r 's/^(APPLE_JUICE.*)=.*$/\1=0/g'
|
8
8
|
|
9
9
|
```
|
1
条件に合わせて修正
test
CHANGED
@@ -4,6 +4,6 @@
|
|
4
4
|
|
5
5
|
```
|
6
6
|
|
7
|
-
sed -r 's/^APPLE_JUICE=.+$/APPLE_JUICE=0/g'
|
7
|
+
sed -r 's/^APPLE_JUICE.*=.+$/APPLE_JUICE=0/g'
|
8
8
|
|
9
9
|
```
|