<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sh0_add</author_name>
  <author_url>https://blog.hatena.ne.jp/sh0_add/</author_url>
  <blog_title>定時ラボ</blog_title>
  <blog_url>https://tech-sh0.hatenablog.com/</blog_url>
  <categories>
    <anon>インフラ実務</anon>
  </categories>
  <description>改行コードが CRLF のシェルスクリプトを Debian 13(bash 5.2.37)のコンテナで ./a.sh と実行すると、次の1行で止まりました。 bash: line 1: ./a.sh: cannot execute: required file not found 同じファイルを Debian 11(bash 5.1.4)で動かすと、1行目のシバンの後ろに ^M が付いた文になります。 bash: ./a.sh: /bin/bash^M: bad interpreter: No such file or directory bash a.sh で実行すると、$'\r': com…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech-sh0.hatenablog.com%2Fentry%2F2026%2F11%2F11%2F161119&quot; title=&quot;required file not foundで止まるシェルとCRLFの切り分け - 定時ラボ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/s/sh0_add/20261109/20261109145612.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-11-11 16:11:19</published>
  <title>required file not foundで止まるシェルとCRLFの切り分け</title>
  <type>rich</type>
  <url>https://tech-sh0.hatenablog.com/entry/2026/11/11/161119</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
