-
-
Save anonymous/a6d95aeb0893da970d835bb75a3d3fbb 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
def test | |
recipients = String.new | |
ARGV.each { |recipient| recipients.concat("#{recipient} ") } | |
#IO.popen("echo \"#{recipients}\" ", "w") | |
IO.popen(["echo", recipients], "w") | |
end | |
test | |
# $ ruby testARG.rb A B C "D E;hostname" | |
# A B C D E;hostname |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment