<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>labunix</author_name>
  <author_url>https://blog.hatena.ne.jp/labunix/</author_url>
  <blog_title>labunix's blog</blog_title>
  <blog_url>https://labunix.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>■ワンライナーで$PATHから自身のユーザ名のパスを除き、scriptファイルを種類分けしてみる。 $ echo $PATH | \ awk -F\: -v WHOAMI=$(whoami) \ '{for(a=1;a&lt;=NF;a++){if($a !~ WHOAMI) \ {print &quot;find &quot;$a&quot; -type f -exec file -N -F\134; {} +&quot; | &quot;sh&quot;}}}' | \ awk -F\; '{a[$2]=a[$2]&quot;;&quot;$1}END{for(n in a){if(n ~ /[Ss]cript/&amp;&amp; a[n] !~ /log/){gsub(&quot;;&quot;,&quot;\n\…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flabunix.hateblo.jp%2Fentry%2F20200504%2F1588576272&quot; title=&quot;ワンライナーで$PATHから自身のユーザ名のパスを除き、scriptファイルを種類分けしてみる。 - labunix&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>2020-05-04 16:11:12</published>
  <title>ワンライナーで$PATHから自身のユーザ名のパスを除き、scriptファイルを種類分けしてみる。</title>
  <type>rich</type>
  <url>https://labunix.hateblo.jp/entry/20200504/1588576272</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
