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.
別のシェルスクリプトを標準出力に出力するシェルスクリプトがあります。1 行の bash コマンドで両方のスクリプト (初期スクリプトと出力スクリプト) を実行する必要があります。出来ますか?
多分そのようなもの:
sh ./test.sh | sh
これをやってみてください:
bash test.bash | bash -s