回答編集履歴

2

訂正

2018/07/25 21:18

投稿

nullpon
nullpon

スコア5737

test CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  ```
4
4
 
5
- PS> Select-String -Path "file.list" -Pattern "Surname" -Context 1
5
+ PS> Select-String -Path "file.list" -Pattern "Surname" -Context 0,1
6
6
 
7
7
  ```

1

訂正

2018/07/25 21:18

投稿

nullpon
nullpon

スコア5737

test CHANGED
@@ -1,7 +1,7 @@
1
- WindowsならPowershell使
1
+ WindowsならPowershell使しょう
2
2
 
3
3
  ```
4
4
 
5
- PS> Select-String -Path "file.list" -Pattern "Surname" -Context 1
5
+ PS> Select-String -Path "file.list" -Pattern "Surname" -Context 1
6
6
 
7
7
  ```