<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>min117</author_name>
  <author_url>https://blog.hatena.ne.jp/min117/</author_url>
  <blog_title>min117の日記</blog_title>
  <blog_url>https://min117.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>MacBook AirでVLCがよく固まる。 $ kill -9 `ps aux | grep VLC | grep -v grep | awk '{print $2}'` でイッパツでVLCプロセスを殺せる。 これを.bashrcに書いてaliasにしたいけど、シングルクオートか被ってうまくいかない。 エスケープが特殊。 awk '{print $2}' のシングルクオートをエスケープするには '¥' て変なエスケープが必要らしい。bashの場合。 結果、aliasはこう登録する。 alias killVLC='kill -9 `ps aux | grep VLC | grep -v gre…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmin117.hatenablog.com%2Fentry%2F2015%2F11%2F07%2F152302&quot; title=&quot;.bashrcにエイリアス書くときのシングルクオート対策（source ~/.bashrc エラー対処） - min117の日記&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>http://cdn-ak.f.st-hatena.com/images/fotolife/m/min117/20151107/20151107151709.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-11-07 15:23:02</published>
  <title>.bashrcにエイリアス書くときのシングルクオート対策（source ~/.bashrc エラー対処）</title>
  <type>rich</type>
  <url>https://min117.hatenablog.com/entry/2015/11/07/152302</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
