<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bobchin</author_name>
  <author_url>https://blog.hatena.ne.jp/bobchin/</author_url>
  <blog_title>bobchinの日記</blog_title>
  <blog_url>https://bobchin.hatenadiary.org/</blog_url>
  <categories>
    <anon>Linux</anon>
    <anon>翻訳</anon>
    <anon>Linux 101 Hacks</anon>
  </categories>
  <description>シェルスクリプト内で select ループ用の独自プロンプトを定義することができます。 以下で示すように PS3 環境変数を使用します。PS3 を使用しないシェルスクリプトと出力: ramesh@dev-db ~&gt; cat ps3.sh select i in mon tue wed exit do case $i in mon) echo &quot;Monday&quot;;; tue) echo &quot;Tuesday&quot;;; wed) echo &quot;Wednesday&quot;;; exit) exit;; esac done ramesh@dev-db ~&gt; ./ps3.sh 1) mon 2) tue 3) wed 4…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbobchin.hatenadiary.org%2Fentry%2F20090503%2F1241340081&quot; title=&quot;Hack 31. PS3 - シェルスクリプト内の“select”に使用されるプロンプト - bobchinの日記&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-05-03 17:41:21</published>
  <title>Hack 31. PS3 - シェルスクリプト内の“select”に使用されるプロンプト</title>
  <type>rich</type>
  <url>https://bobchin.hatenadiary.org/entry/20090503/1241340081</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
