<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>osn_th</author_name>
  <author_url>https://blog.hatena.ne.jp/osn_th/</author_url>
  <blog_title>カタカタブログ</blog_title>
  <blog_url>https://totech.hateblo.jp/</blog_url>
  <categories>
    <anon>Linux</anon>
  </categories>
  <description>Windows環境で保存したシェルスクリプトをLinux環境で実行すると /bin/bash^M: bad interpreter: そのようなファイルやディレクトリはありません /bin/bash^M: bad interpreter: No such file or directoryのエラー。 改行コードが\r\nで保存されてしまったため、Linuxの\nに直す必要がある。 対処法は以下。 sedコマンド一発で変換できる $ sed -i 's/\r//' &lt;対象のファイル&gt; 以下、検証 cat -e で見ると、改行コードに\rが含まれていることが分かる。 $ cat -e hello.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftotech.hateblo.jp%2Fentry%2F2014%2F03%2F19%2F174129&quot; title=&quot;/bin/bash^M: bad interpreter: そのようなファイルやディレクトリはありません (No such file or directory) - カタカタブログ&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-03-19 17:41:29</published>
  <title>/bin/bash^M: bad interpreter: そのようなファイルやディレクトリはありません (No such file or directory)</title>
  <type>rich</type>
  <url>https://totech.hateblo.jp/entry/2014/03/19/174129</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
