<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hkoba501</author_name>
  <author_url>https://blog.hatena.ne.jp/hkoba501/</author_url>
  <blog_title>hkoba blog</blog_title>
  <blog_url>https://hkoba.hatenablog.com/</blog_url>
  <categories>
    <anon>備忘録</anon>
    <anon>zsh</anon>
  </categories>
  <description>Zsh の zparseopts を使って -t TYPE --type TYPE --type=TYPE 全部の書き方をサポートしたい場合にどう書くか。 （代入先の配列名を同じにするだけ、だけど） 値の取り出しの書き方を忘れがちなので、メモ。 (我流なので、ツッコミ歓迎です) zparseopts がどう働くか % set -- -t foo % zparseopts -D -K h=o_help t:=o_type % typeset o_type o_type=( -t foo ) % % set -- --type foobar % zparseopts -D -K h=o_help …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhkoba.hatenablog.com%2Fentry%2F2016%2F09%2F05%2F233615&quot; title=&quot; zparseopts で posix style long option と一文字オプションを両立させる - hkoba 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>2016-09-05 23:36:15</published>
  <title> zparseopts で posix style long option と一文字オプションを両立させる</title>
  <type>rich</type>
  <url>https://hkoba.hatenablog.com/entry/2016/09/05/233615</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
