- 追加された行はこの色です。
- 削除された行はこの色です。
- linux/bash examples/bash 値の入力待ちをする へ行く。
- linux/bash examples/bash 値の入力待ちをする の差分を削除
#author("2017-04-25T17:33:48+09:00","default:kow","kow") **bash 値の入力待ちをする [#e5efab6e] ~ - ''syntax:'' ~ &color(red,){'' read INPUT ''}; ~ ~ - ''comment:''~ ユーザーからの値の入力を求めいたいときに使用。~ 入力された値は、変数に代入され使用可能~ ~ ~ - ''Example:'' ~ #highlight(php:nogutter:collapse){{ # #cat go.sh #!/bin/bash echo -n "なんか入力してね ?> " read INPUT echo "入力の値は: "$INPUT # #./go.sh なんか入力してね ?> てすと 入力の値は: てすと # }} ~ #highlight(end) ~ ~ &tag(Linux,bash); ~ ~ [[Goto Top Page>/]] ~