回答編集履歴

1

2023/07/19 11:58

投稿

melian
melian

スコア21118

test CHANGED
@@ -2,7 +2,7 @@
2
2
  $data = "data.txt"
3
3
  $output = "output.txt"
4
4
  Get-Content $data | Select-Object -Skip 1 |
5
- ForEach-Object { $_[-32..-1] -join '' } | Out-File -Encoding utf8 $output
5
+ ForEach-Object { $_.split("/")[-1] } | Out-File -Encoding utf8 $output
6
6
  ```
7
7
 
8
8
  **output.txt**