<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>art2nd</author_name>
  <author_url>https://blog.hatena.ne.jp/art2nd/</author_url>
  <blog_title>晴歩雨描</blog_title>
  <blog_url>https://2ndart.hatenablog.com/</blog_url>
  <categories>
    <anon>コンピュータ</anon>
  </categories>
  <description>Windowsでテキストファイルで同じ内容の重複行をなくして、新しいテキストファイルに書き出す方法の備忘録。 スタートボタン右クリックで、「ファイル名を指定して実行」で、「PowerShell」を起動する。 以下の例のようなコマンドを入力する。 Get-Content input.txt | Sort-Object | Get-Unique | Set-Content output.txt</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F2ndart.hatenablog.com%2Fentry%2F2025%2F01%2F25%2F224304&quot; title=&quot;Windows：PowerShell）テキストファイルで同じ内容の重複行をなくして、新しいテキストファイルに書き出す方法。 - 晴歩雨描&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/a/art2nd/20250125/20250125221233.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-01-25 22:43:04</published>
  <title>Windows：PowerShell）テキストファイルで同じ内容の重複行をなくして、新しいテキストファイルに書き出す方法。</title>
  <type>rich</type>
  <url>https://2ndart.hatenablog.com/entry/2025/01/25/224304</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
