<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ni66ling</author_name>
  <author_url>https://blog.hatena.ne.jp/ni66ling/</author_url>
  <blog_title>どこでも見れるメモ帳</blog_title>
  <blog_url>https://ni66ling.hatenadiary.jp/</blog_url>
  <categories>
    <anon>bash</anon>
    <anon>sed</anon>
    <anon>ワンライナー</anon>
  </categories>
  <description>はじめに sed*1便利ですよね．ちょっとした文字列操作が簡単にできます． ただ，日常的に使わないと，コマンドとかオプションとかを覚えるのが難しいですよね． ワンライナーな用途を前提として，どういった使い方ができるのか，整理してみました． sedコマンドの構造 sedコマンドは，おおまかに次の3つの構造からなります． A. コマンドオプション（入力ファイルを編集する？標準出力を抑制する？など） B. 範囲指定（どの行について処理する？） C. 文字列操作（どういう文字列操作をする？） 例えば， $ sed -i '3,10 s/hoge/fuga/g' input.txt であれば， A. コ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fni66ling.hatenadiary.jp%2Fentry%2F20141227%2F1419661468&quot; title=&quot; sedによる文字列操作 - どこでも見れるメモ帳&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-ak.f.st-hatena.com/images/fotolife/n/ni66ling/20160611/20160611160134.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-12-27 15:24:28</published>
  <title> sedによる文字列操作</title>
  <type>rich</type>
  <url>https://ni66ling.hatenadiary.jp/entry/20141227/1419661468</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
