{"version":"1.0","height":"190","blog_url":"https://matsu7874.hatenablog.com/","published":"2018-09-16 23:08:22","author_name":"matsu7874","description":"Bash\u3067\u6587\u5b57\u5217\u306e\u5dee\u96c6\u5408\u3092\u6c42\u3081\u308b\u95a2\u6570\u3092\u5b9f\u88c5\u3057\u307e\u3057\u305f\u3002 \u7d50\u69cb\u3064\u307e\u308a\u306a\u304c\u3089\u5b9f\u88c5\u3057\u305f\u306e\u3067\u30d6\u30ed\u30b0\u306b\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u3002 \u8003\u3048\u65b9 \u96c6\u5408A\u3068\u96c6\u5408B\u306e\u7a4d\u96c6\u5408\uff08\u5171\u901a\u8981\u7d20\u306e\u96c6\u5408\uff09\u3092\u6c42\u3081\u308b\u3002 \u96c6\u5408A\u3068\u300c1. \u96c6\u5408A\u3068\u96c6\u5408B\u306e\u7a4d\u96c6\u5408\u300d\u3067\u91cd\u8907\u3057\u3066\u3044\u306a\u3044\u8981\u7d20\u3092\u6c42\u3081\u308b\u3002 \u5b9f\u88c5 except() { # \u6587\u5b57\u5217\u3092\u96c6\u5408\u3068\u898b\u305f\u3068\u304d\u306e\u5dee\u96c6\u5408`a - b`\u3092\u8fd4\u3059 local a b intersection difference a=$1 b=$2 intersection=($(for item in ${a} ${b}; do echo \"$item\"; done | sort | uniq -d)) difference=($(\u2026","image_url":null,"provider_name":"Hatena Blog","width":"100%","provider_url":"https://hatena.blog","url":"https://matsu7874.hatenablog.com/entry/2018/09/16/230822","categories":["Bash"],"type":"rich","blog_title":"matsu7874\u306e\u30d6\u30ed\u30b0","author_url":"https://blog.hatena.ne.jp/matsu7874/","title":"Bash\u3067\u914d\u5217\u306e\u7a4d\u96c6\u5408\u30fb\u5dee\u96c6\u5408\u3092\u6c42\u3081\u308b","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmatsu7874.hatenablog.com%2Fentry%2F2018%2F09%2F16%2F230822\" title=\"Bash\u3067\u914d\u5217\u306e\u7a4d\u96c6\u5408\u30fb\u5dee\u96c6\u5408\u3092\u6c42\u3081\u308b - matsu7874\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}