{"blog_title":"Rodhos Soft","url":"https://rodhos.hatenadiary.jp/entry/2017/09/04/133945","published":"2017-09-04 13:39:45","blog_url":"https://rodhos.hatenadiary.jp/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frodhos.hatenadiary.jp%2Fentry%2F2017%2F09%2F04%2F133945\" title=\"\u6b63\u898f\u8868\u73fe - Rodhos Soft\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","version":"1.0","description":"BSD\u306esed\u3067i\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u5927\u6587\u5b57\u5c0f\u6587\u5b57\u306e\u533a\u5225\u306a\u304f\u30d2\u30c3\u30c8\u304c\u3067\u304d\u306a\u304b\u3063\u305f\u306e\u3067python\u3092\u4f7f\u3063\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u305f\u3002 import sys # use argv import re argvs = sys.argv # \u5f15\u6570\u30ea\u30b9\u30c8 # argc = len(argvs) # \u5f15\u6570\u306e\u500b\u6570 target = argvs[1] #print target result = re.sub(r'(.*)',r'class \\1', target) print(result) \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3057\u3066 find ./ -iname \"*hoge*.swift\" | xargs -I \"{}\" basename\u2026","height":"190","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/KatagiriSo/","categories":["Python"],"width":"100%","author_name":"KatagiriSo","title":"\u6b63\u898f\u8868\u73fe","image_url":null}