Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
read コマンドの使用について非常に混乱しています。誰かが私にこれを説明してもらえますか? たとえば、私が持っている場合:
という名前の実行可能ファイルscriptで、
script
read first second echo $first echo $second
そして、あなたはそれを次のように呼び出します:
echo これは入力行です | 。/脚本
何が起こり、なぜですか?私はそれを動作させることができず、何かが表示されるはずです