<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a666666</author_name>
  <author_url>https://blog.hatena.ne.jp/a666666/</author_url>
  <blog_title>@kyanny's blog</blog_title>
  <blog_url>https://blog.kyanny.me/</blog_url>
  <categories>
    <anon>Perl</anon>
  </categories>
  <description>追記 コメント欄で指摘されているように、 Net::SSH::Perl モジュールを利用したほうが無用なことで困らずに済みそうです。 use String::ShellQuote; my $command = q[gunzip -c /path/to/access_log.gz | perl -e 'while(&lt;&gt;){print}']; my $quoted_command = shell_quote($command); # ' =&gt; '\'' とクォートされる qx/ssh $server $quoted_command/; しかしこれが何度やっても失敗するサーバがあり、エラーメッセージ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.kyanny.me%2Fentry%2F20090119%2F1232370087&quot; title=&quot;String::ShellQuote でコマンドラインをクォートしてリモートで実行する - @kyanny&amp;#39;s blog&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>2009-01-19 22:01:27</published>
  <title>String::ShellQuote でコマンドラインをクォートしてリモートで実行する</title>
  <type>rich</type>
  <url>https://blog.kyanny.me/entry/20090119/1232370087</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
