<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sinsoku</author_name>
  <author_url>https://blog.hatena.ne.jp/sinsoku/</author_url>
  <blog_title>アジャイルSEの憂鬱</blog_title>
  <blog_url>https://sinsoku.hatenablog.com/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>sinsoku.hatenablog.com の続き。 回答 3 Rubyで -0777 を指定するとファイル単位で読み込む方法を教えて頂きました。 $ cat foo.txt foo $ cat bar.txt bar $ cat buz.txt foo bar buz $ ruby -i -n0777 -e 'puts &quot;hi, &quot; + $_' foo.txt bar.txt buz.txt $ cat foo.txt hi, foo $ cat bar.txt hi, bar $ cat buz.txt hi, foo bar buz 詳細 -0777 のオプションは初めて知ったけど、 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsinsoku.hatenablog.com%2Fentry%2F2023%2F06%2F17%2F152412&quot; title=&quot;Rubyやgit-gsubを使って正規表現で複数行を置換する part2 - アジャイルSEの憂鬱&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>2023-06-17 15:24:12</published>
  <title>Rubyやgit-gsubを使って正規表現で複数行を置換する part2</title>
  <type>rich</type>
  <url>https://sinsoku.hatenablog.com/entry/2023/06/17/152412</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
