<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>thaim</author_name>
  <author_url>https://blog.hatena.ne.jp/thaim/</author_url>
  <blog_title>出力を入力へ</blog_title>
  <blog_url>https://thaim.hatenablog.jp/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>シェルスクリプト</anon>
    <anon>サンプル</anon>
  </categories>
  <description>シェルスクリプトで引数処理をしてくれるgetoptがどうも上手く使えなかったので整理してまとめ。 既に似た情報は山程ネットにあふれているけどどうも一目でわからなかったので書き直し。とりあえず使える用なので 他のオプションとかgetoptsとの区別とかは無視。 #!/bin/sh ######################################## GETOPT_ARG_SHORT=&quot;acd:e:&quot; GETOPT_ARG_LONG=&quot;one,two,three:,four:&quot; ######################################## getopt_templa…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthaim.hatenablog.jp%2Fentry%2F2012%2F02%2F29%2F002552&quot; title=&quot;getoptの使い方 - 出力を入力へ&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>2012-02-29 00:25:52</published>
  <title>getoptの使い方</title>
  <type>rich</type>
  <url>https://thaim.hatenablog.jp/entry/2012/02/29/002552</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
