<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>saijo</author_name>
  <author_url>https://blog.hatena.ne.jp/saijo/</author_url>
  <blog_title>saijo's blog</blog_title>
  <blog_url>https://saijo.hatenadiary.jp/</blog_url>
  <categories>
    <anon>tips</anon>
  </categories>
  <description>Linuxを使う人であれば、誰もが一度はたたくであろうlsコマンド。 あるディレクトリのファイルリストを作りたいときに、lsコマンドなんかつかっちゃうわけですが、標準だと横に縦に出力されてしまう。 &gt; ls aaa.c ccc.c bbb.c ddd.c みたいな感じ。これをコピペすると当然このままのテキストの並びになって、手で並べ替える必要がある。どうにかならないものかと思っていたのだが、同僚に相談したところ &gt; for i in `ls` do echo $i done とすれば、一列に表示されるとのこと。なんと、素晴らしい。というか、すぐにそのシェルを思いついたのがすごい。しかし、メモリ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsaijo.hatenadiary.jp%2Fentry%2F20080909%2F1220969224&quot; title=&quot;lsの結果を1行1ファイルに出力したい - saijo&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>2008-09-09 23:07:04</published>
  <title>lsの結果を1行1ファイルに出力したい</title>
  <type>rich</type>
  <url>https://saijo.hatenadiary.jp/entry/20080909/1220969224</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
