<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Windymelt</author_name>
  <author_url>https://blog.hatena.ne.jp/Windymelt/</author_url>
  <blog_title>Lambdaカクテル</blog_title>
  <blog_url>https://blog.3qe.us/</blog_url>
  <categories>
    <anon>shellscript</anon>
  </categories>
  <description>完全に車輪の再発明だけど cd $(dirname $0) という文言を書いておくと，シェルスクリプト内部にあるファイルパスを全てシェルスクリプトからの相対参照として記述できるようになる．とても便利． 結果 実行される場所によらないシェルスクリプトが書ける 関連スレッド blog.3qe.us blog.3qe.us</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.3qe.us%2Fentry%2F2019%2F01%2F22%2F220446&quot; title=&quot;実行される場所によらないシェルスクリプトを書く - Lambdaカクテル&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-01-22 22:04:46</published>
  <title>実行される場所によらないシェルスクリプトを書く</title>
  <type>rich</type>
  <url>https://blog.3qe.us/entry/2019/01/22/220446</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
