<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>motsat</author_name>
  <author_url>https://blog.hatena.ne.jp/motsat/</author_url>
  <blog_title>motsatのブログ</blog_title>
  <blog_url>https://motsat.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>MacはLinuxベースじゃない。BSDベース。そのおかげではまった。historyの出力から、行番号部分だけとりたかった。 これを、 121 ls -al 122 pwd こうしたかった。 ls -al pwd だけ。で、sedで-r(拡張表現オプション)つけて実行。 history | sed -r &quot;s/^ +[0-9]+ //&quot;したら、 sed: illegal option -- r そんなオプションないっておこられた・・。原因は、MacはBSD UNixベース。 sedもBSDベースのもの。 man sedすると -E Interpret regular expressions a…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmotsat.hatenadiary.org%2Fentry%2F20120805%2F1344183589&quot; title=&quot;MacはBSDベース - motsatのブログ&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>2012-08-05 01:19:49</published>
  <title>MacはBSDベース</title>
  <type>rich</type>
  <url>https://motsat.hatenadiary.org/entry/20120805/1344183589</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
