-
-
Save tianyicui/707042 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
~/projects/jruby ➔ cat test.rb | |
#!/usr/bin/ruby | |
puts ARGV.inspect | |
~/projects/jruby ➔ ./test.rb "a" 'b' c | |
["a", "b", "c"] | |
(I hope this can help you understand.) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Quoting are interpreted by the interactive shell. The command being executed know nothing about how are they being quoted in command line.