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.
次のようなbashスクリプトがあります。
#some commands #..... read answer #.... #Other commands
答えはyesまたはでなければなりませんno。
yes
no
answerスクリプトを実行し、値を指定して読み取りをバイパスしたいyes。しかし、スクリプトのコードを編集できません。
answer
パラメータまたはいくつかのbashツールを使用してそれを行う方法はありますか??