<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>masami256</author_name>
  <author_url>https://blog.hatena.ne.jp/masami256/</author_url>
  <blog_title>φ(・・*)ゞ ｳｰﾝ　カーネルとか弄ったりのメモ</blog_title>
  <blog_url>https://kernhack.hatenablog.com/</blog_url>
  <categories>
    <anon>bash</anon>
    <anon>shell</anon>
  </categories>
  <description>この記事はShell Script Advent Calendar 2017の15日目の記事です。 bashスクリプトでオプション引数を処理したい時にcaseで処理したりすると思いますが、引数の処理をサポートするargbashというツールがありました。というわけで、試してみます。 argbashでは3種類の引数の形式を使用できます。オプション引数は-が2つのロングオプション形式です。例えば、--fooとかですね。 引数のタイプ argbashでの使い方 bool型。引数を受け取らないタイプ --bool-opt 名前 引数を受け取るタイプ --opt 名前 --で始まるオプションを使わないタイ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkernhack.hatenablog.com%2Fentry%2F2017%2F12%2F15%2F233444&quot; title=&quot;argbashでbashスクリプトのオプション引数を受け取る - φ(・・*)ゞ ｳｰﾝ　カーネルとか弄ったりのメモ&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.mogile.archive.st-hatena.com/v1/image/masami256/297796618596246957.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-12-15 23:34:44</published>
  <title>argbashでbashスクリプトのオプション引数を受け取る</title>
  <type>rich</type>
  <url>https://kernhack.hatenablog.com/entry/2017/12/15/233444</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
