<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tako_eng</author_name>
  <author_url>https://blog.hatena.ne.jp/tako_eng/</author_url>
  <blog_title>blog</blog_title>
  <blog_url>https://tako-eng.hatenablog.com/</blog_url>
  <categories>
    <anon>シェルスクリプト</anon>
    <anon>Linux</anon>
  </categories>
  <description>普段、シェルスクリプト書くときは先頭行に #!/bin/sh ってつけなさい、と言われるじゃん。 この先頭行の話、なんとなく知ってはいたこととして ・名称は「シバン」という ・プログラムの先頭行に書かなければいけない ・書くと、「当プログラムはこのパスから実行します」みたいな感じで、なんや知らんがいいかんじでやってくれるらしい くらいの認識だった。 このシバンを読み取ってくれるのは誰なんだろう？って不思議だったんだけど、オライリー社の詳解シェルスクリプト読んでたら書いてあった。 ファイルの先頭2文字が#!だった場合、カーネルが先頭行の残りの部分に入力されている文字列をインタプリタのプログラムへ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftako-eng.hatenablog.com%2Fentry%2F2019%2F11%2F06%2F120000&quot; title=&quot;シバンは誰が読みとってくれてるの - blog&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>2019-11-06 12:00:00</published>
  <title>シバンは誰が読みとってくれてるの</title>
  <type>rich</type>
  <url>https://tako-eng.hatenablog.com/entry/2019/11/06/120000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
