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 シェル スクリプトを呼び出したいとします。
./myscript --dbName mydb --dbUser root --dbPass rootpass
スクリプトでこれらを簡単に取得するにはどうすればよいですか?
getopt は、単一の文字オプションでのみ機能するようです