<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mattintosh4</author_name>
  <author_url>https://blog.hatena.ne.jp/mattintosh4/</author_url>
  <blog_title>mattintosh note</blog_title>
  <blog_url>https://mattintosh-note.jp/</blog_url>
  <categories>
    <anon>Linux</anon>
  </categories>
  <description>先日、Raspberry Pi で温度を測定するプログラムを書いたので温度をモニタリングしながらファイルに保存していこうと思ったら画面に何も出てこなかった。すっかり忘れてたけどバッファがあるんだった。 $ python2 temp.py | tee temp.csv 昔は grep --line-buffered みたいなの使ってた気がするけど、他にも無いのかと調べてみたらコマンドのバッファを変更できる stdbuf っていうちゃんとあった。 $ man -s 1 -k buffer dmesg (1) - print or control the kernel ring buffer std…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmattintosh-note.jp%2Fentry%2F20170205%2F1486302335&quot; title=&quot;パイプで繋いだコマンドの出力をバッファ無しで受け取りたい - mattintosh note&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>2017-02-05 22:45:35</published>
  <title>パイプで繋いだコマンドの出力をバッファ無しで受け取りたい</title>
  <type>rich</type>
  <url>https://mattintosh-note.jp/entry/20170205/1486302335</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
