<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>graffage</author_name>
  <author_url>https://blog.hatena.ne.jp/graffage/</author_url>
  <blog_title>graffage</blog_title>
  <blog_url>https://www.graffage.com/</blog_url>
  <categories>
    <anon>コーディング/ソフトウェア</anon>
  </categories>
  <description>野暮用で、めっちゃ重たいテキストデータを軽量化したい要求がありました。 データ量をザックリ1/nにする ＝ データ行をn個おきに抽出する エクセルでテキストを読み込んで、INDEX関数とROW関数の組み合わせて INDEX(*:*, ROW() * n) の形でも抽出できます。 しかしエクセルでの読み込み＋セル作業がなかなか（メモリ的に）重い作業だったため、 うまくいきませんでした。とすればbatchでどーんとやれんもんか...と思って組んだものをメモっときます。 ■フロー 処理したいファイル名を「input.txt」として、「extract.bat」を同一フォルダに入れとく 「extract…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.graffage.com%2Fentry%2F2018%2F11%2F24%2F000000&quot; title=&quot;【バッチ】テキストファイルを指定行おきにデータ抽出する - graffage&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/g/graffage/20181127/20181127023819.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-11-24 00:00:00</published>
  <title>【バッチ】テキストファイルを指定行おきにデータ抽出する</title>
  <type>rich</type>
  <url>https://www.graffage.com/entry/2018/11/24/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
