<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>unau</author_name>
  <author_url>https://blog.hatena.ne.jp/unau/</author_url>
  <blog_title>昨日知ったこと</blog_title>
  <blog_url>https://unau.hatenadiary.org/</blog_url>
  <categories>
    <anon>sh</anon>
  </categories>
  <description>なぜか CR (キャリッジリターン) コードが含まれてしまっているファイルが散見される。FTP のクライアントやバージョン管理システムのクライアントが自動で LF を CR + LF に変換したものの残骸かもしれない。ともかく CR があるところを全部知りたい。そのうえで除去するか、いかすか決めたい。そんなときが私には訪れた。で、シェルスクリプト。 target_dir=app tmp=tmp.$$ find $target_dir -name &quot;*.php&quot; | while read file; do xxd -g1 &lt; $file &gt; $tmp grep ' 0d ' $tmp &amp;&amp; ec…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Funau.hatenadiary.org%2Fentry%2F20101014%2F1287023175&quot; title=&quot;CR が含まれている場所を表示する - 昨日知ったこと&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>2010-10-14 11:26:15</published>
  <title>CR が含まれている場所を表示する</title>
  <type>rich</type>
  <url>https://unau.hatenadiary.org/entry/20101014/1287023175</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
