Created
October 10, 2010 06:54
-
-
Save osima/619036 to your computer and use it in GitHub Desktop.
環境変数の取得
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// g100pon #76 環境変数の取得 | |
// | |
// Usage : groovy getenv name | |
// | |
v = args[0] | |
println System.getenv()[v] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment