回答編集履歴
2
a
test
CHANGED
@@ -4,6 +4,6 @@
|
|
4
4
|
|
5
5
|
```bash
|
6
6
|
|
7
|
-
perl -pe 's/^.*?([A-Z]{3}).*?
|
7
|
+
perl -pe 's/^.*?([A-Z]{3}).*?M\/(\d{3}).*?$/mojo=$1 suji=$2/' < sample.txt
|
8
8
|
|
9
9
|
```
|
1
a
test
CHANGED
@@ -4,6 +4,6 @@
|
|
4
4
|
|
5
5
|
```bash
|
6
6
|
|
7
|
-
perl -pe 's/^.*?([A-Z]{3}).*?\/M\/(\d{3}).*?$/mojo=$1 suji=$2/
|
7
|
+
perl -pe 's/^.*?([A-Z]{3}).*?\/M\/(\d{3}).*?$/mojo=$1 suji=$2/' < sample.txt
|
8
8
|
|
9
9
|
```
|