<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ktrito33</author_name>
  <author_url>https://blog.hatena.ne.jp/ktrito33/</author_url>
  <blog_title>怠日記</blog_title>
  <blog_url>https://nmk365.hatenablog.jp/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>標準入力からの取得標準入力を読み取るには $ を使う。次の例は、ユーザー入力をシェル変数 val に格納し、その内容を出力する。set val = $次のスクリプトは、ユーザー入力によって実行する処理を変える例である。1 が入力されたら処理Ａを、2 が入力されたら処理Ｂを、E が入力されたら処理を終える。#!/bin/csh top: echo -n &quot;1:処理Ａ実行、2:処理Ｂ実行、E:終了 ? &quot; set mode = $ファイルを読み取る を使う。command </description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnmk365.hatenablog.jp%2Fentry%2F20241007%2F1728253800&quot; title=&quot;csh - ユーザー入力を読み取る - 怠日記&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>2024-10-07 07:30:00</published>
  <title>csh - ユーザー入力を読み取る</title>
  <type>rich</type>
  <url>https://nmk365.hatenablog.jp/entry/20241007/1728253800</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
