<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>t_kyt</author_name>
  <author_url>https://blog.hatena.ne.jp/t_kyt/</author_url>
  <blog_title>角待ちは対空</blog_title>
  <blog_url>https://blog.yux3.net/</blog_url>
  <categories>
    <anon>Perl</anon>
    <anon>Tech</anon>
  </categories>
  <description>MacOSのsedは-iオプションのあとに空文字を指定しても(-i'')in-place(上書き)にしつつバックアップファイルは作らないみたいな動作はできない。 sed -i'' -e 's/foo/bar/' test.txt するとtest.text-eというファイルができて辛い。ちなみに''がなくてもだめ 対してperl は perl -i -pe 's/foo/bar/' test.txt で期待した挙動になる。 やっぱperlやな！とおもったら sed -i '' -e 's/foo/bar/' test.txt のようにスペースを空けると上書きしつつバックアップは取らないとう挙動に…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.yux3.net%2Fentry%2F2017%2F12%2F27%2F001659&quot; title=&quot;sedとperlと部屋とワイシャツと私 - 角待ちは対空&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.user.blog.st-hatena.com/default_entry_og_image/102121097/1514224621430035</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-12-27 00:16:59</published>
  <title>sedとperlと部屋とワイシャツと私</title>
  <type>rich</type>
  <url>https://blog.yux3.net/entry/2017/12/27/001659</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
