<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>E_Mattsan</author_name>
  <author_url>https://blog.hatena.ne.jp/E_Mattsan/</author_url>
  <blog_title>エンジニアのソフトウェア的愛情</blog_title>
  <blog_url>https://blog.emattsan.org/</blog_url>
  <categories>
    <anon>Haskell</anon>
    <anon>Ruby</anon>
  </categories>
  <description>引用記号に限らずですが。 例は、lsコマンドで一覧したディレクトリの内容に引用記号(&gt;)をつける例です。 ls | ghc -e 'getContents &gt;&gt;= mapM_ putStrLn.map ((++) &quot;&gt; &quot;).lines' 未来の自分のために解説。 getContentsで標準入力から文字列を取得 linesで文字列のリストに分解 map ((++) &quot;&gt; &quot;)で引用記号を行頭につける mapM_ putStrLnで標準出力に出力 補足 Rubyだとこんな感じ。忘れないように。 ls | ruby -ne 'print &quot;&gt; #{$_}&quot;'</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.emattsan.org%2Fentry%2F20080527%2F1211860955&quot; title=&quot;行頭に引用記号をつける - エンジニアのソフトウェア的愛情&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>2008-05-27 13:02:35</published>
  <title>行頭に引用記号をつける</title>
  <type>rich</type>
  <url>https://blog.emattsan.org/entry/20080527/1211860955</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
