<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>riririusei99</author_name>
  <author_url>https://blog.hatena.ne.jp/riririusei99/</author_url>
  <blog_title>riririusei99’s blog</blog_title>
  <blog_url>https://riririusei99.hatenadiary.jp/</blog_url>
  <categories>
  </categories>
  <description>はじめに 普段使ってるシェルスクリプトはユーザー＆パスワードはほぼほぼ固定なんだけど、たまに任意の入力を受け付けて実行したい時がある時の話。 調べたところreadコマンドを使うのがよさそうというのと… shellを書く時にはたいてい記憶が空になっているので、自分のための備忘録。 read コマンドを使ってスクリプトを書いてみる readInput.sh #!/bin/sh echo &quot;ユーザー名を入力してね&quot; read inputUser echo &quot;PASSWORDを入力してね&quot; # -sでpass入力 read -s inputPass echo &quot;$inputUser にデプロイするよ?…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Friririusei99.hatenadiary.jp%2Fentry%2F2018%2F05%2F15%2F140847&quot; title=&quot;readコマンドを使ってスクリプトを書いてみる - riririusei99’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>2018-05-15 14:08:47</published>
  <title>readコマンドを使ってスクリプトを書いてみる</title>
  <type>rich</type>
  <url>https://riririusei99.hatenadiary.jp/entry/2018/05/15/140847</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
