<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>inokara</author_name>
  <author_url>https://blog.hatena.ne.jp/inokara/</author_url>
  <blog_title>ようへいの日々精進XP</blog_title>
  <blog_url>https://inokara.hateblo.jp/</blog_url>
  <categories>
    <anon>Linux</anon>
    <anon>雑なメモ</anon>
  </categories>
  <description>tl;dr 即興で 1 から 100 までの数字を用意する必要になった. しかも, すべての数字を 0 パディングしたい. 今までの俺 ググったりして seq コマンドが良さそうなことはわかっていたけど, 以下のように書いて満足していた. for id in `seq 1 100` do num=`printf %03d $id` echo $num done 明日からの俺 qiita.com 上記の記事のコメント欄を見て目が醒めた. for num in `seq -w 1 100` do echo $num done seq --help すると, ちゃんと書かれている. $ cat /e…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finokara.hateblo.jp%2Fentry%2F2019%2F10%2F11%2F234717&quot; title=&quot;seq コマンド (だけ) で 0 パディング - ようへいの日々精進XP&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>2019-10-11 23:47:17</published>
  <title>seq コマンド (だけ) で 0 パディング</title>
  <type>rich</type>
  <url>https://inokara.hateblo.jp/entry/2019/10/11/234717</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
