<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bearmini</author_name>
  <author_url>https://blog.hatena.ne.jp/bearmini/</author_url>
  <blog_title>bearmini's blog</blog_title>
  <blog_url>https://bearmini.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>何らかの文字で区切られたデータファイルがあって、その中の特定のカラムの合計を計算したいとします。たとえばデータファイルは以下のような感じです。 $ cat datafile.dat data1: 0, 123, 222, &quot;some text&quot; data34: 11, 3, 24, &quot;another text&quot; data209: 456, 99, 76, &quot;hoge fuga&quot; :この中の、&quot;text&quot; という文字列が含まれている行だけ、123, 3, ... と縦に並んでいる部分を合計したいとします。そこで、まず &quot;text&quot; という文字列が含まれている行だけを grep で抜き出します。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbearmini.hatenablog.com%2Fentry%2F2014%2F02%2F26%2F184648&quot; title=&quot;テキストファイルの中に書かれた数字をコマンドラインで集計する方法 - bearmini&amp;#39;s blog&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-02-26 18:46:48</published>
  <title>テキストファイルの中に書かれた数字をコマンドラインで集計する方法</title>
  <type>rich</type>
  <url>https://bearmini.hatenablog.com/entry/2014/02/26/184648</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
